Tap In Bed or Sleep to begin. The date and time is automatically recorded and displayed on your iPhone.
Tap Bathroom If you got up to use the bathroom.
Tap Awake when you have awoken for the day. Sleep Recorder will record the date and time..
Tap Got Up to record the time you got out of bed or Save to add the data points to HealthKit.
When you tap Save the elapsed time you were in bed asleep is displayed and your data points are entered in HealthKit data store.
To view the results, launch Apple's HealthKit app on your iPhone and navigate to Sleep Analysis.