Plenty of people use audio to fall asleep - be it relaxing music, white noise, nature sounds, podcasts, talk radio, boring speeches, or whateverelse. Not everyone likes the same sleeping audio as others sleeping in the same room.
The application such as Spotify could have a timer. The headphones apparently don't, nor do they have an auto go off when battery is depleted, or a way to more silently announce battery is low.