Your Sleep / Sleep Analyzer can store your sleep data for 1 day if it can't transmit it to the app (in case of Wi-Fi problems, for example).
If you ever change your Sleep / Sleep Analyzer configuration, make sure all your data was transmitted to the app before making the change. If you don't, all your unsent data will be lost.