If you are using a Samsung device which has been updated (or running) Android 6.x Marshmallow it appears that they have introduced an agressive power saving option which is closing Spotify or stopping it accessing data when the application is sent to the background or the screen display turned off. The following are common symptoms caused by this:
If you are using a Samsung device and experiencing any of these symptoms please disable the Power Saver settings as follows:
Settings > Battery > Power Saving Mode> In the Power Saving Mode settings disable the "Restrict background data" setting
If it's still not working after doing the above then disable Power Saving Mode entirely:
Settings > Battery > Power Saving Mode
Settings > Battery > Detail > Spotify >Turned off
I believe Samsung are aware of the issues this is causing - not only to Spotify - and we can hope they improve the power saving feature in the next software update which is hinted at being sometime around June.
Still having the issue? This could be the Android 'Doze' feature taking effect. Read the section "Tracks stop playing when screen turned off or the Spotify application is in the background" in the [COMPLETE GUIDE] How to fix most Android issues
Solved! Go to Solution.
In addition to the powersaving tweaks suggested, I recommend also excluding spotify from android's optimisation as follows:
1. Open the Settings app on your phone (Pull down the notifications shade, and tap the gear in the upper right corner, or find “Settings” in the App Drawer.)
2. Tap Device Maintenance then Battery.
3. Tap Unmonitored Apps
4. Tap the dropdown menu at the top of the screen and select “Add apps.”
5. Scroll down to Spotify - select it
6. Tap Done
Thanks for posting this @Daniel
Done all this, and it is still shutting off after two songs.. The strange thing is though it only does it while i am in radio, but if I am listening to my play list it's fine. Also the volume still goes up and down on it's own..