When I go to bed I use my smartphone to listen to something soothing and I fall asleep. It usually takes less than an hour.
Im looking for an application that turns the device off after one hour, pretty much like the sleep command works (on linux):
sleep 60m && shutdown now
alternatively, your ways to save as much battery as possible after the hour passes (won’t use the device for the next 8 hours)
On a rooted device or with adb you can execute the command:
sleep 60m && reboot -p
What’s your source of audio? Some media players have a timer where it’ll only play for a set time. Audible has it under “timer”, podcast addict has it under “sleep timer”.
vlc
The VLC for android app has a sleep timer
I have found this app. Didn’t test it but you might try it. https://github.com/maforn/TimedShutdownAndroid
Something like MacroDroid or Tasker?
Maybe SleepTimer to stop media playback and turn the screen off?