adjusted power levels according to real discharge process, fixing some setting related issues

This commit is contained in:
dj2ls
2026-06-17 19:49:43 +02:00
parent b938de6172
commit c0293f7c69
5 changed files with 40 additions and 36 deletions
+4 -5
View File
@@ -260,13 +260,12 @@ void LvStatusBar::refreshBattery() {
uint32_t indicatorCol;
if (_isCharging) {
indicatorCol = Theme::SUCCESS;
/*
// Future stuff, we can enable it, as soon as battery levels are working correctly
} else if (_battPct >= 0 && _battPct <= 15) {
} else if (_battPct >= 0 && _battPct <= 10) {
indicatorCol = Theme::ERROR_CLR;
} else if (_battPct >= 0 && _battPct <= 30) {
} else if (_battPct >= 0 && _battPct <= 20) {
indicatorCol = Theme::WARNING_CLR;
*/
} else {
indicatorCol = 0xFFFFFF;
}