EvoBattery#
- class EvoBattery#
Battery monitor for the Evo charger and voltage-sense IC.
- getBatteryVoltage()#
Refresh the charger watchdog, enable the ADC and read the battery voltage.
- Returns:
Battery voltage as a floating-point value in volts.
- getBatteryVoltage()#
Convenience function using the shared
BATTERYinstance.- Returns:
Battery voltage as a floating-point value in volts.