My computer frequently fails to sleep.
How To Reproduce The Problem
Open Google Chrome.
Play a video on YouTube.*
Open a new Chrome tab to some other website (such as SuperUser).
Close the YouTube tab (but keep the other tab open such that Google Chrome isn't completely closed).
Let computer sit for however many minutes are required for sleep. (But then it never sleeps!)
*(I'm 100% not sure that it needs to be YouTube, but Je pense the most likely scenario when I'm playing audio via Chrome is if I'm watching a YouTube video.)
J'utilise Windows 10 Pro with Google Chrome Version 55.0.2883.87 m (64-bit). ("Google Chrome is à jour.")
How To Diagnose
J'ai ouvert Invite de commandes as an administrator and ran powercfg /requests and get this result:
[DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&DEV_0892&SUBSYS_1849D892&REV_1003\4&13fd1513&0&0001)
An audio stream is currently in use.
Through trial and error, I've narrowed down the offending program to Google Chrome. After quitting Chrome completely (all tabs) and running powercfg /requests again, the result is:
DISPLAY:
None.
SYSTEM:
None.
AWAYMODE:
None.
EXECUTION:
None.
PERFBOOST:
None.
ACTIVELOCKSCREEN:
None.
And then the PC sleeps appropriately.
What's weird is that Chrome is not actively playing an audio stream. But it has played audio recently, even though that tab is now closed and gone.
Comment puis-je ensure that my Windows 10 Pro can sleep normally even when Chrome is still open and even when a recently-closed Chrome tab played some audio?
MISE À JOUR :
This is driving me crazy!
I've even disabled all Chrome extensions. My enabled extensions had been:
But I'm still having the problem. I'm not 100% sure that YouTube is relevant to the problem, but Je ne sais pas when else my Chrome uses audio.
By the way, il semble que many other people have experienced Chrome keeping their computer awake:
I'm shocked this hasn't gotten more attention because it's really annoying.