client: Properly return the battery status as full when it is.

This commit is contained in:
Rom Walton 2013-02-12 12:22:20 -05:00 committed by Oliver Bock
parent 3ffc712961
commit f6807efe18
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ void HOST_INFO::get_battery_status() {
battery_state = BATTERY_STATE_CHARGING;
} else if (strstr(status, "Full")) {
msg_printf(0, MSG_INFO, "HOST_INFO::get_battery_status(): battery is full\n");
battery_state = BATTERY_STATE_CHARGING;
battery_state = BATTERY_STATE_FULL;
}
battery_temperature_celsius = 0;