Fall asleep while listening to your favourite music, which will fade out smoothly after your defined period of time.
Determine the lenght of your countdown.
Choose the songs you want to fall asleep with.
After starting the timer the screen will darken in order to allow you to fall asleep quickly and to save your battery.
Do not lock your device because it will lock automatically after the fade-out (if auto-lock is enabled).