diff options
author | Kieran Cawthray <kieranc@gmail.com> | 2021-08-12 21:26:51 +0200 |
---|---|---|
committer | Kieran Cawthray <kieranc@gmail.com> | 2021-08-12 21:26:51 +0200 |
commit | 52ee25e551f506cdaadfb6a62feda1d2aaa8497b (patch) | |
tree | 6c5abc74c56400d222c105b9826fd5e58d3ce522 /src/displayapp/screens/BatteryIcon.cpp | |
parent | 12aeb4688923a06d574b7aa7262626e7eab5b7f1 (diff) | |
parent | 643077341b14a52819cbaf02abbd5fb56cdeb802 (diff) |
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
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 bb6626a5..c67bcb23 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; } |