diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2021-08-10 17:58:42 (GMT) |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2021-08-10 17:58:42 (GMT) |
| commit | f1346f098ee2aa5bf59c91fa9f1a42a93c5d9c45 (patch) | |
| tree | 92b23f2a59d35ea0d130cbc0757e9688cb94caf7 /src/displayapp/screens/BatteryIcon.cpp | |
| parent | a1ba187c47ddad932fc38247d969bb9888860698 (diff) | |
| parent | 275a84b3238874d213271f4287e6c1c5bfcb4353 (diff) | |
Merge branch 'develop' into new_touch_handler
Diffstat (limited to 'src/displayapp/screens/BatteryIcon.cpp')
| -rw-r--r-- | src/displayapp/screens/BatteryIcon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/displayapp/screens/BatteryIcon.cpp b/src/displayapp/screens/BatteryIcon.cpp index bb6626a..c67bcb2 100644 --- a/src/displayapp/screens/BatteryIcon.cpp +++ b/src/displayapp/screens/BatteryIcon.cpp @@ -5,13 +5,13 @@ using namespace Pinetime::Applications::Screens; const char* BatteryIcon::GetBatteryIcon(uint8_t batteryPercent) { - if (batteryPercent > 90) + if (batteryPercent > 87) return Symbols::batteryFull; - if (batteryPercent > 75) + if (batteryPercent > 62) return Symbols::batteryThreeQuarter; - if (batteryPercent > 50) + if (batteryPercent > 37) return Symbols::batteryHalf; - if (batteryPercent > 25) + if (batteryPercent > 12) return Symbols::batteryOneQuarter; return Symbols::batteryEmpty; } |
