Skip to content

Commit

Permalink
fix: update battery result to screen
Browse files Browse the repository at this point in the history
  • Loading branch information
DriftKingTW committed Jun 21, 2024
1 parent cc37bf9 commit 5055fbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,11 @@ void generalTask(void *pvParameters) {
} else if (isOutputLocked) {
contentIcon = 10;
result = "Bat. " + (String)batteryPercentage + "%";
contentTop = result;
} else if (isCaffeinated) {
contentIcon = 9;
result = "Bat. " + (String)batteryPercentage + "%";
contentTop = result;
} else if (bootWiFiMode) {
String networkInfo = "";
if (currentMillis - networkInfoPreviousMillis <
Expand Down

0 comments on commit 5055fbd

Please sign in to comment.