SleepAnalyser records your movement during your sleep.
It is able to visualise it on a graph to show how much you move during your sleep. This can help to indicate how you sleep.
It also has an alarm function and other features. You can set the alarm and a time window (ex. 30 minutes). The Alarm will then go off sometimes during the time window (as soon as you move more), but latest at the set alarm. This should help you to wake up while you are in the light sleep phase.
Old records can be loaded and visualised and the graphs can be exported as bitmaps.
The parameters are already set and SleepAnalyser should work out of the box. How ever depending how soft your mattress is and how far away you put the phone, it might be that the parameters described in Settings have to be adjusted.
To give it a test run, push on the application title (SleepAnalyser) and select "Test recording".
It will then run in a test mode which is much faster than the normal mode.
Now put it put the phone beside or under your pillow onto the mattress and lay down.
Every time you move more, it should make a beep.
If you think it is too less sensitive, you can lower/raise the trigger level.
Also on the graph you will see the movement as yellow bars.
If the bars all are very smaal or huge, you can adjust them in Settings. A normal record could look like this:
In the beginning the green phase is almost no movement, but in the second part is a lot of movement.
There are two options for recording, just recording, or recording with set alarm. On the end, both do the same, but only the second one will set off an alarm when the time is up.
If you push on "Set alarm and start recording", you can set an alarm and a time window to wake you up.
The Alarm will then go off sometimes during the time window (as soon as your movements are over the trigger level),
but latest at the set alarm.
Note: SleepAnalyser uses the MAEMO built in alarm functions.
So even in the case that SleepAnalyser would crash, the alarm will go off at the set time.
After you set the alarm (or pushed "Start recording only"), the recording window will open and the recording starts.
The turning alarm clock at the bottom left will indicate that the recording is happening.
The recording is delayed for several seconds, so you have enough time to put the phone beside your pillow.
During or after the recording you can add a note, change the zoom and trigger level.
It is useful to add a note of how your sleep really was.
In that way it is later on easier to understand the graph.
The trigger level defines how the sleep durations are indicated. If you have set an alarm (see below),
it also defines how much you have to move to activate the alarm.
The recording is stopped when you close the Recording window or push on "Stop".
A new window will open where you can chose if you want to keep the record or remove it.
If you keep it, the record will be opened in the view window.
If you push on "View records", the View window opens and shows the last created record. With the two arrow buttons on the bottom left side, you can go through the records stored in ~/MyDocs/SleepAnalyser/. Also you can open a specific record in any directory with the "folder" button. If you push on the "date" button, you can select a record from a specific date (only from the folder ~/MyDocs/SleepAnalyser/) Like in the recording window, you can set/change a note, zoom in or out or change the trigger level. Additionally, in the View window you get more informations about the record.
Se below on Graph to understand what the graphs.
There are a few settings you can change:
Offline Mode: When this is activated, the phone will switch to Offline Mode while recording.
Silent Profile: When this is activated, the phone will switch to the silent profile while recording.
Stop after alarm occurred: When this is activated, the recording will automatically stop after the alarm occurred.
User name: Set or change your user name. This name will be saved in the record file
Start delay: Set a delay for the start of the recording, so you have enough time to put your phone beside your pillow.
Y scaling movement (yellow): This defines how much the graph gets stretched in Y axis. Increase this value if the yellow movement bars are too small. Changing this value will not have an effect on the trigger or alarm. Increasing this value is usually needed if you have a very hard mattress or the phone lies far away.
Y scaling sleep graph (blue): This defines how much the blue graph gets stretched in Y axis. The blue graph tries to interpret your sleep pattern. If the graph is always on the bottom or top, play with this parameter.
More parameters can be set in the file ~/SleepAnalyser/SleepAnalyser.conf.
How ever you should only touch them if you know what you do! Normally they don't have to be adjusted.
During recording, the data is written to a record file. Every time you start recording, a new file is created. The files are saved in the folder ~/MyDocs/SleepAnalyser/. They are plain text and you can share them easily with somebody else who has the same application.
In the Recording or View Window you will see the graph with your movements and other details:
Your Movements are shown yellow. If the movements are stronger, the bars go higher.
At the bottom of the graph you can see horizontal bars in different colors. They represent the time between the movements over the trigger level:
Green: More than 30 minutes without movement
Dark Green: More than 15 minutes without movement
Orange: More than 8 minutes without movement
Red: Less than 8 minutes without movement
The white line in the graph shows the currently set trigger level for the bars.
There is also a white number on the right side indicating the trigger level.
You can lower/raise it with the up/down buttons.
You will have to experiment with it as it is different for everybody depending how soft
your mattress is and how far away you put the phone.
Those conditions will have an affect on how the phone records your movement.
The gray line and number (View window only) show the originally set trigger level for this record.
If you have set an alarm, you will see an orange bar in the graph with the set time window for the alarm.
If the alarm goes off, it will be marked with a red point.
And finally the blue graph (View window only) tries to interpret your sleep pattern. Basically it is a multiplication of all movements with a defined sleep window. If the graph is always in the lower part, you have a smooth (deep) sleep. If the graph is often and for a longer time in the upper part, it means you move a lot and are most likely in a light sleep or even awake.
The application will drain the battery around 10..20% per night. It is suggested to have the phone charged or to charge it while using SleepAnalyser for a longer time.
Make sure the phone is not fully covered with your pillow, so it will not overheat!
If you don't feel confident to have a phone close beside hour head for the whole night, activate the option "Offline Mode" in the settings window. It then will automatically change into Offline Mode while it records.
SleepAnalyser uses the built in acceleration sensor to detect your movements.
If you would like to know more about the used algorithm, have a look on
http://www.ruinelli.ch/sleepanalyser/.
Copyright 2010 by George Ruinelli (george@ruinelli.ch).
For more information, please visit
http://www.ruinelli.ch/sleepanalyser/.
The icons are from KDE Nuvola theme (by David Vignoni) and KDE Oxygen theme (by Oxygen Team)
Special thank goes to the MAEMO community. Without their help, suggestions and feedback SleepAnalyser wouldn't be what it is now.