How to prevent a Windows 7 PC from sleeping when CPU usage is over X%?

5

1

I often leave the PC running into the night to process video files, so it shouldn't sleep while it's working but it would be nice if it went into sleep when it's done.

During the export the CPU is always above a set %, and when idle it's typically in the single digits.

Is there some tool or setting that would prevent the PC from going to sleep as long as the CPU usage (let's say averaged over one minute) stays above a specified limit?

MaxVT

Posted 2011-03-18T18:05:27.607

Reputation: 264

1The program may do it for you, Handbrake does it, and if you're not using it you probably should check it out. – tobylane – 2011-03-18T22:14:56.227

Answers

1

Matt

Posted 2011-03-18T18:05:27.607

Reputation: 583

I don't think this will help unless the process stops, but most would just give a result. – Tamara Wijsman – 2011-03-18T22:55:23.977

1

You can't set a specific limit on the number of cycles, but a Windows Task scheduler job that runs shutdown -t 0 with "Only start the task if the computer is idle for _ minutes" specified should work.

Smurf64

Posted 2011-03-18T18:05:27.607

Reputation: 166

Incorrect, you can, furthermore "idle for _ minutes" will not work if the program doesn't have built-in support. – Tamara Wijsman – 2011-03-18T23:04:47.600

1

I suggest NoSleep:
http://www.computerbase.de/forum/showthread.php?t=770730

You need to enable the standby as usual and NoSleep suppress it if necessary. It seems that it is not available in English by now, but I think its easy to understand:
enter image description here

mgutt

Posted 2011-03-18T18:05:27.607

Reputation: 433