Elephone P8, Android 7.0
Spotify closes (app closes + background service ends) 10 seconds after screen turns off.
Lock screen widget displays fine and plays so long as screen is on.
Battery / Power Optimization is off and spotify is set to not optimized.
Spotify has all possible permissions granted.
No other background tasks close - just spotify.
(There's no specific background task killing setting in this Android build)
Other media players are fine too with screen off, mixcloud and the stock music player.
Spent a solid 2 hours going through all the settings and nothing makes a difference.
Tried clearing cache / reinstalling / changing storage location...
Long time user. This is a deal-breaker for me 😞
Help?
Thanks for getting back to me.
Definitely definitely 100% all the battery / power saving features are off.
I checked everything and then had a second set of eyes check I wasn't missing something.
We both agree all the power / task management stuff is off.
This is pretty much a stock handset in its current state.
I've made sure all the appropriate spotify / generic app options are set not dumb too.
On my personal account, I can start songs, have them play when the app / phone is active / unlocked, then 10 secs after the lock it gets killed.
I created a new user account and logged into the app on that same phone.
Now, all the songs are greyed out and nothing can be played. Searched / navigated sure but not played.
The only way I could make the phone play was to start a song on the web version on my laptop which the phone offered the "listen here" option which when selected plays.
Then.. lock the screen and 10 seconds later it does the same deal.. song stops playing and spotify closed.
I'm at a loss. I installed a bunch of other media players (mixcloud, soundcloud, deezer etc) and they all keep playing fine.
Without it being rooted, is there any way to log what's happening when the screen gets locked and it closes?
Thanks for stayiong in touch with us.
In this case, could you check that all the notifications are enabled from the settings of your phone? Sometimes when you block or hide notifications on the lock screen from the setting of your phone, the Spotify lock-screen controls won't show up and this could lead for the app not to work on the background.
Keep us posted.
Widget shows on the lock screen and so long as the screen isn't switched off, it'll be displayed and respond correctly. (pauses, starts, changes track etc)
All notifications enabled.
Thanks for the update, @user28374!
Can you try using a friend's account in your device? Also, let us know if it's something that started happening recently or ever since you got that phone.
Keep us in the loop.
Hey @user28374!
There's a recent update for the app, make sure you have the latest version installed. It's been a while since the last update, so for now we'll close the post. If you still need assistance, we'll be right here.
Take care!
Welcome to the Spotify Community.
That's odd. Can you go to your device Settings > Battery > Low Power Mode and check if that it's grayed out?
In the meantime, try logging in with a different Spotify account to check if the same thing happens.