diff options
author | minacode <minamoto9@web.de> | 2022-10-03 12:15:37 +0200 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2022-12-27 12:13:52 +0100 |
commit | ccc8cee07a3a702b31ab3a0f2f93950f0d176198 (patch) | |
tree | b62aa2ebd2e15d45721fef81d2ebe8b23f51afe8 /src/components/battery/BatteryController.h | |
parent | 29673892c282b51700fbb1899e6eecf3e0b90c61 (diff) |
added low battery message
Diffstat (limited to 'src/components/battery/BatteryController.h')
-rw-r--r-- | src/components/battery/BatteryController.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/battery/BatteryController.h b/src/components/battery/BatteryController.h index 5a7394c4..53eb7d19 100644 --- a/src/components/battery/BatteryController.h +++ b/src/components/battery/BatteryController.h @@ -39,6 +39,7 @@ namespace Pinetime { static constexpr nrf_saadc_input_t batteryVoltageAdcInput = NRF_SAADC_INPUT_AIN7; uint16_t voltage = 0; uint8_t percentRemaining = 0; + uint8_t lastPercentRemaining = 0; bool isFull = false; bool isCharging = false; |