mirror of https://github.com/BOINC/boinc.git
- client: improve message text for battery conditions
This commit is contained in:
parent
658a08393a
commit
fb5199e9f6
|
@ -579,8 +579,8 @@ const char* suspend_reason_string(int reason) {
|
||||||
case SUSPEND_REASON_NETWORK_QUOTA_EXCEEDED: return "network bandwidth limit exceeded";
|
case SUSPEND_REASON_NETWORK_QUOTA_EXCEEDED: return "network bandwidth limit exceeded";
|
||||||
case SUSPEND_REASON_OS: return "requested by operating system";
|
case SUSPEND_REASON_OS: return "requested by operating system";
|
||||||
case SUSPEND_REASON_WIFI_STATE: return "not connected to WiFi network";
|
case SUSPEND_REASON_WIFI_STATE: return "not connected to WiFi network";
|
||||||
case SUSPEND_REASON_BATTERY_CHARGING: return "battery is recharging";
|
case SUSPEND_REASON_BATTERY_CHARGING: return "battery low";
|
||||||
case SUSPEND_REASON_BATTERY_OVERHEATED: return "battery is overheated";
|
case SUSPEND_REASON_BATTERY_OVERHEATED: return "battery thermal protection";
|
||||||
}
|
}
|
||||||
return "unknown reason";
|
return "unknown reason";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue