Record the moment sleep starts. Record when you wake.
Sleep is manually declared instead of being guessed by continuous wearable analytics. An active session records its start locally; ending it calculates the exact elapsed duration and adds it to chronological history.