In the Spotify Android App there's a sleep-timer feature where music will stop playing after a set amount of time (5min, 10min, 15min, 30min, ect.)
I love this feature as a way to setting a timer for focused work, or to listen to music while falling asleep. I'd love to see this feature!