Wednesday, August 17, 2011

Google Chrome prevents Windows 7 from sleep

see http://www.google.com/support/forum/p/Chrome/thread?tid=3b1d41b0663a4d40&hl=en

in a command window:
powercfg -requestsoverride PROCESS chrome.exe awaymode display system

to remove the override:
powercfg -requestsoverride PROCESS chrome.exe

source:
http://download.microsoft.com/download/7/E/7/7E7662CF-CBEA-470B-A97E-CE7CE0D98DC2/AvailabilityRequests.docx.

more far-reaching fix if you have a 'Pro' version of windows 7 - editing local group policy:
start>Run>gpedit.msc
Computer Configuration>Administrative Templates>System>Power Management>Sleep Settings>

Set
Allow Applications to Prevent Automatic Sleep (On Battery)
and
Allow Applications to Prevent Automatic Sleep (Plugged In)

to disabled.

but this applies to ALL applications, not just chrome.

2 comments:

  1. You should try....
    control Panel
    device manager
    network adapters
    select your network adapter
    right click properties
    power management tab
    uncheck 'allow this device to wake the computer'

    ReplyDelete
  2. Read the help for powercfg. Use "powercfg -requests" to see what has requested to override automatic sleep, and then use "powercfg -requestsoverride" to turn that off.

    For me, it turns out that my kids minecraft game left open in their account was preventing the system from sleeping via the "HD audio" driver. Once I removed the override, my system was back to sleeping normally.

    ReplyDelete