Chrome Prevents Windows from Going Into Sleep, Standby or Hibernation Mode

»»»Chrome Prevents Windows from Going Into Sleep, Standby or Hibernation Mode
When Google Chrome web browser is running and opening with a single or multiple tabs, the computer cannot goes into low power sleep, standby or hibernation mode as per configuration and settings in Power Options of Control Panel or Power & sleep of Settings app, even though monitor or screen is turned off. The issue is immediately resolved, i.e. device can now sleep or hibernate, once Chrome window is closed.

The Chrome prevents and stops Windows system from going into sleep, stand-by or hibernation because one or more of the web pages (tabs), extensions or apps is using the system resources, effectively telling Windows that Chrome is still actively performing some tasks, and hence do not put computer into sleep, stand-by or hibernation mode.

You can check if Chrome is using any power requests by opening a Command Prompt with Administrator privileges, and then run the following command:

powercfg /requests

The output looks like below:

DISPLAY:
None.

SYSTEM:
None.

AWAYMODE:
None.

EXECUTION:
[PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
Uploading data

PERFBOOST:
None.

Or if you’re playing video or audio, such as on YouTube, web pages loading with Flash ads, video ads and audio ads, the output of the command looks similar to below instead:

DISPLAY:
[PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
Playing video

SYSTEM:
[DRIVER] Realtek High Definition Audio (HDAUDIO\FUNC_01&VEN_10EC&DEV_0269&SUBSYS_10250727&REV_1001\4&c387b3d&0&0001)
An audio stream is currently in use.

AWAYMODE:
None.

EXECUTION:
[PROCESS] \Device\HarddiskVolume4\Program Files (x86)\Google\Chrome\Application\chrome.exe
Playing audio

PERFBOOST:
None.

Chrome Uploading Data

Instead of exiting and closing the whole Chrome web browser, you can try to identify the culprit which is running process that is making the power requests, preventing the system from sleeping, standing-by or hibernating.

Workaround 1: Close the Tabs Which Are Playing Video and/or Audio

If you’re seeing the results that Chrome is playing audio and/or is playing video, identify the web pages that are playing the audio and/or video, and then close the tabs to resolve the Windows won’t go to sleep, standby or hibernate when Chrome is running issue. Do pay attention to video ads, audio ads, Flash ads and other multimedia advertising that can play video and sound. Normally, a speaker icon is shown on the tab when the tab is playing an audio stream, helping you to identify it. Such websites include YouTube, Netflix and etc.

Workaround 2: Close the Tabs That Are Performing Background Process

If you’re seeing Chrome is uploading data as one of the power requests on execution category, then the identification of the causing culprit is much harder. Any extensions, apps or tabs in the Chrome may prevent the Windows from sleeping, standing-by or hibernating.

To troubleshoot it, disable extensions, plugins, apps, and tabs one by one, until the power requests made by Chrome is gone.

Some common Chrome apps, extensions, plugins or websites that may cause Chrome to hold power requests indefinitely including Outlook.com, Adobe Flash Player, Yahoo! Mail, AwesomeScreenshot, Zeverator, Google Play Music, Motorola Connect, Adsblock Dropbox synchronization, Remember The Milk (for Gmail) and many more which normally involves background processes or updates.

Workaround 3: Disable JavaScript

If you have too many tabs opened, disable JavaScript may be they way to stop any background processes, uploads, downloads, tasks, updates, audio and video from running unbeknownst. To do so, open Chrome menu, go to Settings -> Show advanced settings -> Content settings. Select the radio button for Do not allow any site to run JavaScript. Doing so also have the added advantage of reducing system resources consumed by Chrome.

Note that you need to reload all open tabs after turning off the JavaScript support in Chrome. You can always re-enable the JavaScript and then refresh the web pages when you need to view the web pages normally.

Workaround 4: Override Chrome Power Requests

Windows provides option that allows users to set a power request override for a particular process, service, or driver. We can set a power request override for Chrome, so that any power request made by Chrome will not stop Windows from going into low power sleep, standby or hibernate state.

To do so, open a Command Prompt with Administrator privileges, and execute the following command:

powercfg /requestsoverride PROCESS chrome.exe AWAYMODE DISPLAY SYSTEM
To remove the override for Chrome, run the following command instead:

powercfg /requestsoverride PROCESS chrome.exe

To check current list of power request overrides, run the following command:

powercfg /requestsoverride

Workaround 5: Group Policy to Disallow Apps to Prevent Automatic Sleep or Hibernate

This trick will apply on all programs and applications, not just Chrome.

  1. Open Local Group Policy Editor (GPedit.msc).
  2. Go to Computer Configuration -> Administrative Templates -> System -> Power Management -> Sleep Settings.
  3. Set the following two settings to Disabled:

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

    Disable Apps to Prevent System from Sleep

By | 2016-12-09T08:38:34+00:00 December 9th, 2016|Categories: Web Browsers|Tags: , |9 Comments

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.
  • Greg

    Excellent article…I’m having this problem on my Win 7 machine with Chrome browser. I close it open the 3 same tabs in internet explorer and it will hibernate normally.

  • Asgaeroth

    You are a life saver. I haven’t been able to get my computer to sleep since July. Method #4 solved the issue entirely.

  • Ben

    Thanks for this post. I’ve tried the other methods without avail so far. although unable to complete 5#. how come I am unable to find the directory “power management” in group policy editor??

  • nomanzone

    Assuming by the time you get there, you have already determined that Chrome is the reason that your Windows system won’t go to sleep automatically. You can find what is preventing it from going to sleep by running the command “powercfg -requests” with administrator privilege.

    The first thing to check is if any tab is streaming media, like youtube. You must close those tabs. if powercfg -requests still shows something is running, then it is likely to be one or more of the “add-on”. Proceed to disable all add-ons and run powercfg -requests again. You should see nothing is listed there. The enable your favorite add-ons one by one and run powercfg -requests after each one is enabled. Then you can see which add-ons are causing the problem.

    Here is the list of add-ons that caused me the problem:
    Quck Note 1.6.15 (webrtc)
    eBay 4.2.15 (Audio, must disable sound notification to correct this)
    XFINITY® TV Go Stream Live TV Online 2.0.1(webrtc, must disable Top Promoted Programming Channels to correct this)

    There are potentially other reasons that prevent your Windows system not going to sleep other than Chrome. If your system still does not go to sleep automatically after you killed the Chrome processes, you will still need to figure out other potential sources.

  • pcguy8088

    Neither #4 nor #5 would fix an issue with Chrome uploading data to comet.yahoo.com when an enduser was logged into their Yahoo email account. They do not have Yahoo Messenger installed on Windows10 Pro machine. Only fix so far is to remember to logout of Yahoo email and then the computer will go to sleep at its predetermined amount of time

  • next_uk

    Thank you!

  • cantsleep24x7

    I battled the problem where webRTC PeerConnections were preventing sleep. In my experimentation, simply closing the tab that created the webRTC connections wasn’t sufficient; I had to actually shut down chrome completely, i.e. exit all tabs. Then I found a more preferable work-around: instead of closing the tab that has webRTC connections, navigate that tab to a different web page or site which doesn’t use webRTC. That will close out the webRTC connections and it isn’t necessary to completely exit chrome.
    Note that this assumes that you’ve figured out which web site/page is causing the webRTC connections to be created. To do this, run “powercfg -requests” before and after opening tabs until you discover the culprit. For me it was the search results page on slickdeals.net website.

  • Mark Able Jones

    Having this issue with Windows 10 and Chrome with Yahoo Mail. This is a fresh install of windows 10 64-bit on a brand new SSD. Windows 10 will not go into sleep mode with Yahoo Mail as the active tab.

  • Pingback: Chrome WebRTC Has Active PeerConnections Prevent Computer from Auto Sleep - Tech Journey()

STAY IN TOUCH

close-link