How to read sleep graphs

Sleep graph is the main outcome of sleep tracking - it shows analysed data from all the sensors that were used during the night.


1. Morning screen

The first screen you see in the morning is Morning briefing and it offers you important information at a glance.

Note You can customize the screen by swiping away the cards you don’t need, or pinning the ones you like the most with a long-press.
To edit the screen, use the Hide / Show button at the bottom or Settings → Personalize → Morning screen, see details here.
Sleep score

See details in sleep score chapter. If this options is missing, you have Hide stats before rating enabled in Settings → Personalize → Morning screen

Rating

Rate you sleep with stars to add important feedback for stats, or add tags.

Graph overview

Simplified hypnogram graph, tap to expand it to the full graph.

Noise card

Simplified noise level graph.

Sensor card

Simplified sensor data graph.

Weather card

MetNorway or OpenWeather data.
Can be disabled in Settings → Personalize → Morning screen > Weather.

Dismiss

If you end the tracking before alarm, you can simply dismiss the upcoming alarm.

2. Sleep graph detail, edit screen

The full detailed graph shows all data measured or calculated by the app at once. This screen also allows you to edit the graph, add or remove awakes, or edit the tracking duration.

Note You can hide or reveal all the graph elements with the buttons at the bottom. These buttons also serve as a hints - they show you which color, or icon the element uses.

The app uses Actigraphy – activity-based sleep tracking – as the method of estimating your sleep phases. We have shown in a study that our approach produces a very good match with Polysonography – the de-facto golder standard for clinical sleep tracking with a fraction of the costs. See How does Sleep as Android compare to the sleep lab.

2.1. Sleep score

graph score
Figure 1. Sleep record statistics
Sleep score pie charts
  • The small "speedometers" pie charts represent all the metrics measured in a simplified way.

  • Read more details about sleep score in sleep score chapter.

  • Sleep score pie charts are scrollable, and their order can be changed.

2.2. Actigraph

graph acti
Figure 2. Actigraph
Actigraph
  • Shows the intensity of your nightly movements.

  • The higher the peak, the more you’ve been moving.

2.3. Hypnogram

graph phase
Figure 3. Hypnogram
The hypnogram
  • Shows your sleep phases progress during the night, estimated from actigraphic data and other inputs (e.g. awake periods).

  • Awake: lightest color, the highest column reaching the top of the graph (100% of the height).

  • REM phase and light sleep: shown as medium color - REM 75% of the height, light sleep 50% of the height.

  • Deep sleep: shown as the lowest, darkest shade, 25% of the height.

red
Figure 4. Red sections

Red sections on your graph indicate that the app did not receive data from sensors at that time. This usually happens when using wearables due to lost connection to the wearable. The phone’s accelerometer can also (very rarely) malfunction.

2.4. Sensor data

graph colored
Figure 5. Breath rate + light level
hrv
Figure 6. SpO2 data + HR + HRV
  • Blue line = blood oxygen level if you are using oximeter. Blue dots with numbers indicate maximum and minimum (read more about breath rate monitoring)

  • Red line = heart rate through the night. Red dots with numbers inside are the maximum and minimum heart rate (read more about heart rate monitoring).

  • Violet line = heart rate variability. Dots with numbers represent local maximum and minimum (read more about heart rate variablity).

  • Orange line = light in your room in LUX units (read more about light awake detection).

  • Turquoise (Blue-green) line = breath rate if you are using sonar Blue dots with numbers indicate maximum and minimum (read more about breath rate monitoring).

  • Dashed line = smart period prior to alarm time (read more about Smart wake up).

2.5. Noise graph

graph noise
Figure 7. Noise graph
The noise graph
  • Shows how much noise (sleep talk, snoring, environmental) was there throughout the night.

  • When sound recognition is enabled, sounds (cry, laugh, sneeze or cough, snoring and talking) are marked with icons.

2.6. Markers and Icons

Besides deep sleep, REM phase and light sleep, there are several other events depicted in the sleep graphs.

Icons on Actigraph

ic action pause Tracking paused
ic action time Alarm / snoozed alarm
ic action sunrise Sunrise / sunset
ic action noise Snoring event
ic action cpap Low breath rate detected (Apnea event)
ic battery 60 Low battery (switching to stand-by mode)

Icons on Noise graph

ic action talk Sleep talking
ic action sick Cough and sneeze
ic action baby Baby cry
ic action laughLaugh
ic action mic Sleep noise recorded
ic action dream Lucid dreaming

3. Guides

3.1. Editing graphs

For a guide on how to edit a graph, please see Graph editing.

3.2. How should the graphs look?

As a general rule of thumb that applies to healthy individuals:

A healthy sleep (for a monophasic sleeper) is 7-8 hours long and consists of 5 sleep cycles where the first lasts for 70-100 minutes and the consequent cycles get longer but lighter. Each cycle consists of 4 stages lasting usually 5-15 minutes. Stage 1 and 2 are considered light sleep and this is the best time to be woken up in the morning.

A healthy sleep cycle looks like a 10-30 minutes of light sleep (high peaks) followed by an area of deep sleep (low peaks or no peaks) lasting 40-100 minutes.
Different resources on sleep may provide different figures though.

So deep sleep % may actually range between 30%-70%. Figures out of this range may indicate either incorrect sleep tracking setup or some sleep issues. For example very low deep sleep % may indicate either sleep deprivation or issues in your life style such as higher alcohol or caffeine intake, not enough sport etc.

3.3. Comparing Sleep as Android graphs to sleep lab

Ever wondered, how precise the sleep tracking with only a mobile phone could be?
We had the opportunity to compare our algorithms with sleep-lab clinical study, and the results are very promising!
The chances the smart alarm will be triggered properly (not in deep sleep) is 96%.
Lucid cues have a 50% change to hit REM phase.
Awake periods just from movement intensity changes (no other awake heuristic like sound detection, light detection, HR monitoring) can be detected with 30% success.

You can read more details about the study on our blog post here.
If you are interested how the REM detection with Sleep as Android works, you can read it here.

FAQ

It is possible to revert up to 5 changes made while editing a graph.

  • You can use the Undo banner (appears each time you change a graph):

awake mistake
Figure 1. Undo banner after using scissors icon
  • Or you can use ⋮ menu → Undo option

If you delete the graph from the Sleep app and it comes back later, check if the graph has ic cloud upload icon. These graphs are synced from an external service - either Samsung Health, Health Connect, or Google Fit.

If you delete the graphs there too, the they won’t reappear in the Sleep when you delete them.

Sleep duration is the sum of all your sleep stages (light, REM, and deep), not including waking stages - because you are not really sleeping when you are awake.
So on default settings, your Sleep Duration ,ay be a little shorter than your tracking time.

If you want your sleep duration to be the same as your tracking duration:

  • Disable the awake detection in Settings → Sleep tracking → Awake detection.

  • You can also try to adjust the sensitivity of each type of settings to get optimal results. In most cases, too many awake periods are caused by significant HR peaks.

  • If you are not sure, where these awake periods are coming from, please use the Left ☰ menu → ic help q Support →ic bug Report a bug, and send us the application log.

We use a different input than polysomnographists, and define our own sleep phases, reflecting an objective aspect of sleep, easy to measure with common devices. One naturally needs to ask whether there is any relationship between the EEG-phases and our ACT-phases.

Fortunately, several research teams raised similar questions before (See this one, or this one, or this one, or this one). They measured a bunch of people on a traditional polysomnograph and recorded their physical activity at the same time (By filming them and then counting the movements manually, or by using accelerometer readings). The published analyses show that there indeed is a significant statistical relationship between EEG-phases and body movements.

You can also read about comparison of Sleep as Android algorithms and Sleep lab results on our blog here.

Accelerometers are really sensitive, which is great for sleep tracking. Usually what you see when you leave the phone on the table is immediately dwarfed when you make a more significant movement. Just leave the phone on the table for a while and you will see a dramatic spike, but then move the phone and you will see that all the development is really tiny compared to the new peak.

So what you see is random noise caused by very small vibrations of the table or in very quiet areas by seismic movement. We mark the data relatively, so you can always distinguish between light and deep sleep. However, the algorithm works well only in conditions, it assumes i.e. in the bed with relatively large movement peaks.
To be more precise, if you leave the phone on a table, you may get values perhaps in the range of 0.000001 to 0.000009 m/s2 (the value is made up here, but it is physically very small). In the bed, you can get values from 1 to 9 m/s2 (which is physically large). However, the algorithm only sees that the high value is 9 times higher than the low value in both cases.
We had to do this because each accelerometer (in different phones) measures differently, so we couldn’t assume a standard conversion formula that responds to absolute values.

So if you use the phone in bed, it is indeed drastically different from measuring in a quiet place, like the table.

Please do not hesitate to contact support@urbandroid.org for clarification. You can also read more about how our data compares to sleep lab results at in this post.

There are several reasons why your graphs may be flat.

The actigraphy is almost flat

If you can see some movement on the actigraphy, but the graph is unusually flat:
. Sonar - make sure the signal is strong enough by keeping the sonar volume at max at Settings → Sleep tracking → Test sensor → blue sliding bar.
- You can also try a different frequency by selecting other frequency from the drop-down menu list in Settings → Sleep tracking → Test sensor → Frequency
- Keep the phone closer to your bed.
- Try different positions of the phone.
. Accelerometer - try keeping the phone closer to you.

The actigraphy is flat, or red
  • Disable all system restrictions applied to Sleep as Android, or any companion app for tracking with a wearable: https://dontkillmyapp.com/

  • If there are too many awakenings falsely estimated on your graph, use the Left ☰ menu → ic help q Support →ic bug Report a bug, and send us the application log.

  • Most often the awakes are driven by significant HR peaks (awakes align with HR red line graph), you can try to disable this type of awake detection in Settings → Sleep tracking → Awake detection → Heart rate monitoring.

  • Another common cause is phone screen turned on, you can try disabling the Awake when using phone awake detection in Settings → Sleep tracking → Awake detection → Awake when using phone.

If the tracking stops completely after few minutes, the background processes are restricted by your system.

  • Make sure no system restrictions are applied to Sleep as Android, or any companion app for a tracking with wearable: Check our guide here.

  • If the guide won’t help, send us your log using Left ☰ menu → ic help q Support →ic bug Report a bug.

The red block indicates that something went wrong with tracking at that time and the device stopped providing sensor data for some reason. Usually those are some non-standard battery optimizations or battery savers, the battery gets too low so we preserve it for the alarm or connectivity issue if you use a wearable.

1. Battery restrictions

Make sure no system restrictions are applied to Sleep, or any involved apps like wearable companion app).
See our guide here, and follow the instructions.

2. Too low battery

When the battery is too low (usually below 10%), data collecting is terminated to preserve enough battery for alarm.
When the battery was too low, there is a battery icon is displayed on the graph:

low battery
Figure 1. Low battery graph

3. Connectivity issues with a wearable

When the connection with the wearable is lost, you can see red sections on the graph. The app always tries to reach the wearable again.
The graph can look like this:

red wearable
Figure 2. Connection lost during tracking
  1. Opt-out from any battery restrictions is applied by your system (https://dontkillmyapp.com/)

  2. Pair the wearable with your phone in System settings.

  3. Make sure the BT is not lost, and try lowering the distance between the phone and the wearable.

  4. Try settings the device as Trusted device.