Skip to content

Commit 81a1431

Browse files
committed
Merge branch 'improve-battery-percentage-to-battery-icon-mapping' of https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping
# Conflicts: # src/displayapp/screens/BatteryIcon.cpp
2 parents c086520 + 84a6c88 commit 81a1431

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/displayapp/screens/BatteryIcon.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
using namespace Pinetime::Applications::Screens;
66

77
const char* BatteryIcon::GetBatteryIcon(uint8_t batteryPercent) {
8-
if (batteryPercent > 90)
8+
if (batteryPercent > 87)
99
return Symbols::batteryFull;
10-
if (batteryPercent > 75)
10+
if (batteryPercent > 62)
1111
return Symbols::batteryThreeQuarter;
12-
if (batteryPercent > 50)
12+
if (batteryPercent > 37)
1313
return Symbols::batteryHalf;
14-
if (batteryPercent > 25)
14+
if (batteryPercent > 12)
1515
return Symbols::batteryOneQuarter;
1616
return Symbols::batteryEmpty;
1717
}

0 commit comments

Comments
 (0)