PC won't sleep while playing a sound (audio driver prevent from sleep)

Page 1 of 2 12 LastLast

  1. Posts : 61
    windows 10
       #1

    PC won't sleep while playing a sound (audio driver prevent from sleep)


    Hi! Any idea how I could solve this problem?

    Runing
    Code:
    powercfg -requests
    gives:

    Code:
    SYSTEM:
    [DRIVER] Cirrus Logic High Definition Audio (HDAUDIO\FUNC_01&VEN_ ...)
    An audio stream is currently in use.
    [PROCESS] \Device\HarddiskVolume2\Program Files (x86)\Windows Media Player\wmplayer.exe
    I tried uninstalling the audio driver
    I also tried that code
    Code:
    powercfg /requestsoverride driver Cirrus Logic High Definition Audio System
    (as mentioned here)

    (Note that in this driver (in devices manager) there is no "power management tab" (as in network adapter) to uncheck the "allow to wake up on sleep"." tab on driver )
      My Computer


  2. Posts : 30,530
    Windows 10 (Pro and Insider Pro)
       #2

    Go to Control panel /and search for Power options. Select Advanced and then Change when computer sleeps. Scroll down to media settings and uncheck option "prevent sleep when sharing media" ... Names could not be exact, but you'll find them.

    Also, there is fine tutorial about preventing devices to wake computer or go to sleep..

    PC won't sleep while playing a sound (audio driver prevent from sleep)-image.png
      My Computers


  3. Posts : 61
    windows 10
    Thread Starter
       #3

    thanks AndreTen but I already checked that (sorry I forgot to mention it).

    But the tuto is interesting.

    I tried:

    Code:
    C:\WINDOWS\system32>powercfg -devicedisablewake "Cirrus Logic High Definition Audio"
    But it says:
    Code:
    You do not have permission to enable or disable device wake.
    But I'm running the cmd as admin... If you know the equivalent in Powershell I could try.

    EDIT: I also tried to create a new admin account and run this cmd, same problem.
    Last edited by chok; 06 Oct 2017 at 11:37.
      My Computer


  4. Posts : 30,530
    Windows 10 (Pro and Insider Pro)
       #4

    In this case, your drivers don't support this action. You probably use generic MS drivers. Try to install drivers from your laptop manufacturer (Dell, if your data is correct) and see, if this helps.

    There are lot of similar problems around. This is one interesting thread in Sevenforums (for Windows 7, but problem is the same)

    Edit: interesting claim from an user at ms forums... running
    powercfg -devicedisablewake "name..."
    several times, finally successful.
      My Computers


  5. Posts : 61
    windows 10
    Thread Starter
       #5

    thanks! But same result with the PowerShell as admin (I tried more than several times!)

    yes it's probable I use MS drivers since my computer (Dell Inspiron 3520) hasn't been updated for Windows 10. But it was working a few weeks ago (on windows 10).
      My Computer


  6. Posts : 30,530
    Windows 10 (Pro and Insider Pro)
       #6

    chok said:
    thanks! But same result with the PowerShell as admin (I tried more than several times!)

    yes it's probable I use MS drivers since my computer (Dell Inspiron 3520) hasn't been updated for Windows 10. But it was working a few weeks ago (on windows 10).
    Check if drivers were updated (Reliability history will show it quickly, or find drivers propeties.. and events tab). If you find what was changed, it would be possible to revert it. Also, do you have some restore points (or even backup)?
      My Computers


  7. Posts : 61
    windows 10
    Thread Starter
       #7

    Yes the drivers have been updated (well I uninstalled them, I guess windows reinstalled the last (maybe generic) version). I did installed and uninstalled many things this month, so there is an infinite number possibility. And no, I'am afraid I can't go back in the past. But thanks anyway for your great help Andre.
      My Computer


  8. Posts : 30,530
    Windows 10 (Pro and Insider Pro)
       #8

    Have reread your first post, and think Name of the device should be in quotes...

    Like stated in this thread: windows_7-performance/windows-7-wont-go-to-sleep-when-on-battery-power

    Anyway... good luck with that issue. it's unbelievable how many of this problems stays unsolved..
      My Computers


  9. Posts : 61
    windows 10
    Thread Starter
       #9

    As you say! (But singularity isn't that far (27 year?), few more years to struggle with that).

    (Oh but it that one from your link did not throw any error (neither confirmation message).


    Code:
    
      
    Code:
    powercfg -REQUESTSOVERRIDE DRIVER "High Definition Audio Device" SYSTEM
    


    I don't know what it did, but it still can't sleep while playing


    My mistake; The driver was simply uninstalled, so it's normal I did not get any error.

    EDIT
    Sorry, Andra, I was away. Yes, I tried with the quote. I also uninstalled the Dell driver, powercfg -requests doesn't show anything blocking. The computer still doesn't sleep. I will keep you updated if I find a way to solve this.
    Last edited by chok; 06 Oct 2017 at 14:37.
      My Computer


  10. Posts : 61
    windows 10
    Thread Starter
       #10

    update: it's getting even more weider.

    I finally uninstalled the Cirrus Logic High Definition Audio but it did not change anything (except that now powercfg -requests does not not show anything.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 07:49.
Find Us




Windows 10 Forums