aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/WatchFaceInfineat.h
diff options
context:
space:
mode:
authorDiego Miguel <dmlls@diegomiguel.me>2022-04-03 17:20:25 +0200
committerDiego Miguel <dmlls@diegomiguel.me>2022-06-11 16:57:24 +0200
commitcb2131ec2cc26a55131192e86287dd6f5fe3e472 (patch)
treecef267faa28a6dd048427a057f1fdba231891498 /src/displayapp/screens/WatchFaceInfineat.h
parentb5bf6c51a462a94d2765cc33dd6a8afa0836e8ef (diff)
Implement charging battery animation
Diffstat (limited to 'src/displayapp/screens/WatchFaceInfineat.h')
-rw-r--r--src/displayapp/screens/WatchFaceInfineat.h4
1 files changed, 3 insertions, 1 deletions
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<uint8_t> batteryPercentRemaining {};
- DirtyValue<bool> powerPresent {};
+ DirtyValue<bool> isCharging {};
DirtyValue<bool> bleState {};
DirtyValue<bool> bleRadioEnabled {};
DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>> currentDateTime {};