diff --git a/android/BOINC/res/values/strings.xml b/android/BOINC/res/values/strings.xml index 08c365e530..502890326b 100644 --- a/android/BOINC/res/values/strings.xml +++ b/android/BOINC/res/values/strings.xml @@ -249,7 +249,7 @@ Out of computation time-frame. BOINC is benchmarking your device… Out of disk space. - Your device is busy. + Scheduled CPU throttle. No recent tasks available. Initialisation delay. An exclusive app is running. diff --git a/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java b/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java index c2811cdceb..0d77830c22 100644 --- a/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java +++ b/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java @@ -377,6 +377,16 @@ public class ClientStatus { setWifiLock(false); return; } + if(status.task_mode == BOINCDefs.RUN_MODE_AUTO && status.task_suspend_reason == BOINCDefs.SUSPEND_REASON_CPU_THROTTLE) { + // suspended due to CPU throttling, treat as if was running! + computingStatus = COMPUTING_STATUS_COMPUTING; + computingSuspendReason = status.task_suspend_reason; // = 64 - SUSPEND_REASON_CPU_THROTTLE + computingParseError = false; + setWakeLock(true); + setWifiLock(true); + return; + + } if((status.task_mode == BOINCDefs.RUN_MODE_AUTO) && (status.task_suspend_reason != BOINCDefs.SUSPEND_NOT_SUSPENDED)) { computingStatus = COMPUTING_STATUS_SUSPENDED; computingSuspendReason = status.task_suspend_reason;