client: Fix typos for Android

This commit is contained in:
Rom Walton 2013-02-08 18:36:01 -05:00 committed by Oliver Bock
parent ff0ab6aca6
commit d2df80a859
2 changed files with 3 additions and 3 deletions

View File

@ -291,11 +291,11 @@ int CLIENT_STATE::check_suspend_processing() {
if (cp >= 0) {
if (cp < 90) {
hyst_state = true;
return SUSPEND_REASON_BATTERY_CHARGE;
return SUSPEND_REASON_BATTERY_CHARGING;
}
if (cp < 95) {
if (hyst_state) {
return SUSPEND_REASON_BATTERY_CHARGE;
return SUSPEND_REASON_BATTERY_CHARGING;
}
} else {
hyst_state = false;

View File

@ -118,7 +118,7 @@ enum BATTERY_STATE {
BATTERY_STATE_DISCHARGING,
BATTERY_STATE_CHARGING,
BATTERY_STATE_FULL,
BATTERY_STATE_OVERHEAT
BATTERY_STATE_OVERHEATED
};
// Values of RESULT::state in client.