Issues Reading an encoder

You said the DUE's voltage on the 5V pin was 4.8, does it change if the encoder is disconnected?