Skip to content

Commit

Permalink
improve batt guage to show when charging
Browse files Browse the repository at this point in the history
  • Loading branch information
maks committed Dec 20, 2024
1 parent 452eacd commit ebc5c88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sources/Application/Views/BaseClasses/View.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ void View::drawBattery(GUITextProperties &props) {

char *battText;
if (voltage > 4.0) {
battText = (char *)"[++F]";
// TODO: check for if charging and then show [+C]
} else if (voltage > 3.6) {
battText = (char *)"[CHG]";
} else if (voltage > 3.7) {
battText = (char *)"[+++]";
} else if (voltage > 3.5) {
battText = (char *)"[++ ]";
Expand Down

0 comments on commit ebc5c88

Please sign in to comment.