Fix lint error

master
RKBoss6 2025-07-30 17:24:56 -04:00 committed by GitHub
parent a383435668
commit 4b6f0f50b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@
var newPercent =Math.round((E.getBattery()+E.getBattery()+E.getBattery()+E.getBattery()+E.getBattery()+E.getBattery())/6);
E.getBattery = function() {
var percentToReturn;
if(Bangle.isCharging()){
if(newPercent > savedBatPercent)
savedBatPercent = newPercent;