Allow Windows 10 to auto sleep PC when an audio device is in use

When a program streams any audio (even silence), the system don't go into sleep mode automatically. Sometimes it is not desired (e.g. if you use Sound Keeper). You can try to use the powercfg to allow Windows go into sleep mode even when audio is streamed.

To get required information about your audio driver that prevents the PC from sleeping when audio is streamed, execute the following command with administrator rights while Sound Keeper is running:

powercfg /REQUESTS

The required information about your audio device should look like this:

SYSTEM:
[DRIVER] High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)

Execute such commands (but with your data from the previous command) as administrator to add this device into the ignore list:

powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device" SYSTEM
powercfg /REQUESTSOVERRIDE DRIVER "HDAUDIO\FUNC_01&VEN_10EC&..." SYSTEM
powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)" SYSTEM

To verify the ignore list, execute:

powercfg /REQUESTSOVERRIDE

To revert your changes, execute:

powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device"
powercfg /REQUESTSOVERRIDE DRIVER "HDAUDIO\FUNC_01&VEN_10EC&..."
powercfg /REQUESTSOVERRIDE DRIVER "High Definition Audio Device (HDAUDIO\FUNC_01&VEN_10EC&...)"