Sleep duration and scheduling