Reliable sleep informaton recording