Hi.
My idea is to able to solve the problem of the application that closes when it is on the lock scrren of the device or in the background in some devices.
From Settings>Applications(Apps)>Spotify(App Info) i think it is necessary to implement in the application the option to Show on top of other Applications (Show on Top) to prevent the application from closing when it is in use from any device Android.
Sample image