From cb2131ec2cc26a55131192e86287dd6f5fe3e472 Mon Sep 17 00:00:00 2001 From: Diego Miguel Date: Sun, 3 Apr 2022 17:20:25 +0200 Subject: Implement charging battery animation --- src/displayapp/screens/WatchFaceInfineat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/displayapp/screens/WatchFaceInfineat.h') diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h index 42d2d16d..54e3cb74 100644 --- a/src/displayapp/screens/WatchFaceInfineat.h +++ b/src/displayapp/screens/WatchFaceInfineat.h @@ -46,9 +46,11 @@ namespace Pinetime { Pinetime::Controllers::DateTime::Days currentDayOfWeek = Pinetime::Controllers::DateTime::Days::Unknown; uint8_t currentDay = 0; uint32_t savedTick = 0; + uint8_t chargingBatteryPercent = 101; // not a mistake ;) + DirtyValue batteryPercentRemaining {}; - DirtyValue powerPresent {}; + DirtyValue isCharging {}; DirtyValue bleState {}; DirtyValue bleRadioEnabled {}; DirtyValue> currentDateTime {}; -- cgit v1.2.3-70-g09d2