summaryrefslogtreecommitdiff
path: root/src/components/battery/BatteryController.h
diff options
context:
space:
mode:
authorminacode <minamoto9@web.de>2022-11-21 00:03:09 +0100
committerJF <JF002@users.noreply.github.com>2022-12-27 12:13:52 +0100
commit557a328409b9a4d4617606c8b04679ebee885b1f (patch)
treed5c90bdde090aee84fb9be9b13246d3f7b87fbe1 /src/components/battery/BatteryController.h
parent51d818b7742a0224abdbc9f55885ada9c353d6df (diff)
changed to bool
Diffstat (limited to 'src/components/battery/BatteryController.h')
-rw-r--r--src/components/battery/BatteryController.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/battery/BatteryController.h b/src/components/battery/BatteryController.h
index 3a7d73ce..627ca7d4 100644
--- a/src/components/battery/BatteryController.h
+++ b/src/components/battery/BatteryController.h
@@ -42,7 +42,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 batteryLowNotified = false;
bool isFull = false;
bool isCharging = false;