mirror of https://github.com/BOINC/boinc.git
client: Fix typos for Android
This commit is contained in:
parent
ff0ab6aca6
commit
d2df80a859
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue