From Anonymous on 2016/10/09 13:24:13 +0000
Hit the button, then enter the amount of time you’d like to sleep for, and it automatically sets an alarm at the appropriate time.
Copied from original feature request: http://urbandroid.uservoice.com/forums/264867-sleep-as-android/suggestions/16572364-sleep-for-x-hours-button