For systems such as ADC, the behavior during debug won't be the same as how they run.
I see that you have connected the p3.0 to a POT and varying the voltage. You should be able to notice the change the adcResults and mVolts variables on the project. Based on these two values, you can measure the actual Battery level VDDA. Can you please print these two values and see if they change as expected when you change the POT Voltage?
- Madhu Sudhan