No batteryMillivolts() command available


I want to read the battery voltage on the Dash but do not seem to have the Dash.batteryMillivolts() function available.

Has this been changed to some other method to read the voltage?

UPDATE: OK, found it. I used the Charger.batteryMillivolts() and it works fine. I see 4.191V on charge and then starts to drop gradually below 4V when USB removed.


Yup! That’s the way to go. The battery will hang in right around 4.2V under charge – the 3.7v rating on the battery is the nominal value for this type of battery cell.