Update app.js

Below threshold means below :)
master
Marco H 2021-12-13 08:51:10 +01:00 committed by GitHub
parent aeea8241ba
commit 15ac03f866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ function drawInfo(now) {
if (showBattery) {
writeLineTopic("BATT", i);
const b = E.getBattery();
writeLine(b + "%", i, b > batteryWarnLevel ? textColor : textColorRed);
writeLine(b + "%", i, b < batteryWarnLevel ? textColorRed : textColor);
i++;
}