How does the body predict alarm time