summaryrefslogtreecommitdiff
path: root/src/components/battery/BatteryController.h
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2021-10-09 10:39:27 (GMT)
committerRiku Isokoski <riksu9000@gmail.com>2021-10-09 10:39:27 (GMT)
commit1777b9dee8f1189df29f627707b970995f0d4afe (patch)
treeb7faa90ee8facf76d45bbb49bce8641489780a98 /src/components/battery/BatteryController.h
parenta9f7153fdf92b097b14143b77645f6608ac1bf9c (diff)
Don't measure and notify percentage on charging event.
Diffstat (limited to 'src/components/battery/BatteryController.h')
-rw-r--r--src/components/battery/BatteryController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/battery/BatteryController.h b/src/components/battery/BatteryController.h
index 55c2630..5a7394c 100644
--- a/src/components/battery/BatteryController.h
+++ b/src/components/battery/BatteryController.h
@@ -10,7 +10,8 @@ namespace Pinetime {
public:
Battery();
- void Update();
+ void ReadPowerState();
+ void MeasureVoltage();
void Register(System::SystemTask* systemTask);
uint8_t PercentRemaining() const {