Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

While I'm downloading a large file on Windows 7 using Google Chrome, my computer goes to sleep. I could obviously set the computer to not sleep at all (or change the interval before the computer sleeps).

What I want to know is: Is there a way to make Windows 7 not sleep as long as a download is in progress? (perhaps when any network activity is going on?). I've looked in the Advanced Power settings, and haven't seen any obvious setting.

share|improve this question
add comment

6 Answers

up vote 11 down vote accepted

Check this tool: Insomnia which prevent the computer from going into sleep mode while the program is open.

share|improve this answer
    
This program does exactly what @Ozan's answer suggests doing. Thanks! –  Jason Sundram Nov 2 '09 at 14:40
    
Superb, exactly what I was after. Thank you. –  Charles Roper May 8 '11 at 20:21
    
Insomnia is a very useful tool. Thanks for sharing it. Two small issues: As another answerer said, this feature should be wired into Chrome. (Not a solution, and thus not a useful answer, but true all the same.) Also, the Insomnia binary is not signed. I guess it costs too much to buy certificates just for software that you give away, but I wish we could have more rigorous use of security features like code signing.. –  Isaac Rabinovitch Sep 4 '12 at 19:01
    
Well the question was about preventing the computer from sleeping while a transfer is going on and while this program does this it seems a bit overkill as it doesn't care if an xfer is happening it just looks for any open program and keeps the machine awake. The program you want to check out is called coffee and it looks for transfers in progress and keeps everything runnning while they are: sourceforge.net/projects/coffee-sc Of course to be fair to karatchov, this program probably wasn't even born when he posted that comment but it is now :) –  Ryan Wiancko Sep 12 '13 at 11:35
add comment

It is the duty of the downloading program to reset the system idle timer by calling SetThreadExecutionState with ES_SYSTEM_REQUIRED.

Maybe you are lucky filing a bug/feature request at google code

share|improve this answer
    
Thanks, Ozan, I've updated the question with the program I'm using (Google Chrome). –  Jason Sundram Aug 5 '09 at 3:21
add comment

FlashGet has the option to put the PC in sleep mode after all downloads complete.

share|improve this answer
    
Thanks, John T. That's a good partial solution. I was hoping for a solution that would work if there were other kinds of network traffic going on, too (scp, ssh). –  Jason Sundram Aug 5 '09 at 2:31
add comment

Your best bet would be to file a Chrome bug or send a feature request (although they probably won't listen to the latter). Chrome is still a relatively young browser, and I wouldn't expect Google to have though of minute details like this.

Otherwise, no, there is no global option to do this in Windows, and I doubt there is a utility to do what you want, although maybe something will pop up.

share|improve this answer
    
Thanks musicfreak. I guess the thing to do is to pull the source for Chromium and make the change myself. But I can be lazy sometimes. –  Jason Sundram Aug 5 '09 at 3:37
add comment

" AMP WinOFF " is the best solution I've found It can autoshutdown at certain conditions u specify e.g. CPU load, network activity ....etc

here it is : http://www.softpedia.com/get/System/Launchers-Shutdown-Tools/AMP-WinOFF.shtml

share|improve this answer
add comment

For Firefox, you can install the No Sleep Download extension. It prevents your computer from going to sleep while downloading files.

Also, Free Download Manager, which integrates with Firefox, Opera, Chrome, IE, among other browsers, has a feature to prevent the computer from going into standby / sleep mode while it is downloading a file.

share|improve this answer
    
I know OP asked for solutions for Chrome. I am putting this solution for Firefox and other browsers as other similar and more general questions are being closed as a duplicate of this one. –  galacticninja Jan 2 at 8:20
add comment

protected by Troggy Feb 11 '11 at 23:34

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.