Alarm should be set before sleeping.