Patent ID: 8671299

Claim:
A method comprising: operating a computing device in a first power mode; receiving a request to place the computing device in a second power mode, wherein the second power mode consumes less system resources than the first power mode; delaying the initiation of the transition of the computing device to the second power mode until the completion of a task by placing the computing device in a third power mode that consumes less system resources than the first power mode but more than the second power mode; and while in the third power mode, estimating an amount of time remaining to complete the task, estimating an amount of system resources required based on the task and the amount of time remaining to complete the task, determining if the estimated amount of system resources based on the amount of time remaining to complete the task exceeds one or more system resource threshold values, and if the estimated amount of system resources exceeds the system resource threshold value(s), ceasing execution of the task, and placing the computing device in the second power mode.