Using a motion-sensing chip built into a wristwatch-shaped device, sleep scientists can build a highly accurate map of a person’s daily cycle of sleep and wakefulness.