summaryrefslogtreecommitdiff
path: root/src/components/battery
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/battery')
-rw-r--r--src/components/battery/BatteryController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/battery/BatteryController.h b/src/components/battery/BatteryController.h
index 627ca7d4..b47b77cc 100644
--- a/src/components/battery/BatteryController.h
+++ b/src/components/battery/BatteryController.h
@@ -17,6 +17,7 @@ namespace Pinetime {
uint8_t PercentRemaining() const {
return percentRemaining;
}
+
bool BatteryIsLow() const {
return percentRemaining <= lowBatteryThreshold;
}