- client: improve message text for battery conditions

This commit is contained in:
David Anderson 2013-04-10 15:52:00 -07:00
parent 658a08393a
commit fb5199e9f6
1 changed files with 2 additions and 2 deletions

View File

@ -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";
} }