From f6807efe18a20dbae9fc7abb162210c0a2ca9592 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 12 Feb 2013 12:22:20 -0500 Subject: [PATCH] client: Properly return the battery status as full when it is. --- client/hostinfo_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/hostinfo_unix.cpp b/client/hostinfo_unix.cpp index 67157b830f..9458cf0b43 100644 --- a/client/hostinfo_unix.cpp +++ b/client/hostinfo_unix.cpp @@ -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;