Battery: assume unknown status is charging
@@ -137,7 +137,7 @@ bool BatteryStats::isCharging() {
}
}
for(int i =0; i < batt_count; i++) {
- if (state[i] == "Charging") {
+ if (state[i] == "Charging" || state[i] == "Unknown") {
return true;
}
}
