client (Android): show "GUI not active" suspend reason

This commit is contained in:
David Anderson 2013-06-26 16:33:32 -07:00
parent 85245f1802
commit 9ad9c5ee13
1 changed files with 1 additions and 0 deletions

View File

@ -575,6 +575,7 @@ const char* suspend_reason_string(int reason) {
case SUSPEND_REASON_WIFI_STATE: return "not connected to WiFi network";
case SUSPEND_REASON_BATTERY_CHARGING: return "battery low";
case SUSPEND_REASON_BATTERY_OVERHEATED: return "battery thermal protection";
case SUSPEND_REASON_NO_GUI_KEEPALIVE: return "GUI not active";
}
return "unknown reason";
}