Alarm gives duration of sleep