mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-08-28 05:24:32 +00:00
adjusted power levels according to real discharge process, fixing some setting related issues
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user