Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Plan
Premium
Country
United States
Device
Desktop, iPhone 11 Pro Max, Macbook Air, Roku w/ Spotify
Operating System
Windows 10
My Question or Issue
When playing Spotify on another device, my Desktop will no longer sleep due to Spotify claiming there is "Background Audio Playback".
I leave Spotify open while i'm away from my desktop, and will stream Spotify from one of my other devices. I just noticed, however, that running `powercfg /requests` on my desktop while I'm playing Spotify from another device shows Spotify as in-use. This entry exists when the UI is active, as well as minimized to the system tray. The entry goes away when I stop the music playback on the other device.
EXECUTION:
[PROCESS] \Device\HarddiskVolume3\Program Files\WindowsApps\SpotifyAB.SpotifyMusic_1.138.558.0_x86__zpdnekdrzrea0\Spotify.exe
Background Audio Playback
When viewing Spotify's UI on the desktop, it shows the green bar that tells me which device I'm using, as well as all the current song info. The only way to fix this issue is by closing Spotify every time I swap to another device.
My question, is there a way to prevent Spotify from behaving this way without having to close it each time? Can this be fixed?
Having the exact same issue and seem to have solved it with:
```
powercfg /requestsoverride process "\Path\To\Spotify.exe" execution
powercfg /requestsoverride process Spotify.exe execution
```
Where the first path is the one you see in `powercfg /requests`. When I run `powercfg /requests` the offending request still shows up, but I think the rule stops it from actually preventing sleep. You can see the current state of rules with a bare `powercfg /requestsoverride`. With a 1m sleep timer it still took around 3m to actually get to sleep, but it _did_ go to sleep. The second (or first?) rule may be extraneous, but I added both and don't care enough to test out which one actually fixed the problem!
Hopefully my computer will be a little less dusty now 🙂
Would you mind explaining in more detail exactly what you did? Unfortunately I don't know what to do with this information, that seems to be the exact solution I am looking for:
powercfg /requestsoverride process "\Path\To\Spotify.exe" execution
powercfg /requestsoverride process Spotify.exe execution
Thanks!
They’re commands you enter into a command prompt. You’ll want to open powershell, probably in admin mode (google “how to open powershell in admin mode” for help here).
Then, you’ll want to run “powercfg /requests”. To “run” a command just means typing (or copy/pasting) it in to the powershell window and pressing enter. The command will run and print some output. In this output should be some path that includes Spotify.exe if it’s actually blocking sleep.
Next you’re going to run those commands from my original post, but replace the \Path\to\Spotify.exe with the path you found in the previous step.
Thanks so much for your rapid and detailed response!
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…