Hello, dear habrayuzer.
Have you ever (wake up in the morning) to wake up, as they say "on the wrong foot"? The light is too bright, the sounds are too loud, your dear person is too intrusive, everything flies out of your hands, random objects are touched. Who did not happen!

Did you notice that this happens only when you are woken up? Whether it is your alarm clock, a phone call, or someone close to you, it doesn’t matter, the thing is ...
A bit of theory:
')
human sleep consists of 4 phases:
The first phase is the stage of falling asleep or, as it is otherwise called, drowsiness. This is the transition from wakefulness to sleep, which usually lasts 10-15 minutes.
The second phase is the phase of shallow slow sleep. This phase is the longest, takes almost half of the entire duration of sleep.
The third phase - the phase of the deepest slow sleep.
These are the phases of
slow sleep .
And finally, the
fourth phase - the phase of
REM sleep . Or the phase of rapid eye movement (BDG). It is in this phase that we see the most vivid and memorable dreams.
At the beginning of sleep, the duration of slow sleep prevails, and before awakening, the duration of quick sleep increases.
All this is a long-proven scientific fact.

On average, a full cycle of 4 phases of sleep lasts for 1.5 hours, replacing each other, thus, a night's sleep consists of 4-7 cycles, and if we wake up ourselves, on weekends for example, then as a rule, at the end of all phases (which the bill depends on when you went to bed;))
So the point is not at all in “this or that leg”, but in the fact that the alarm clock interrupts the unfinished phase, which results in excessive irritability.
So what to do?
Of course, you can calculate the time of falling asleep and waking up so that sleep is a multiple of 1.5 hours, but there are a large number of factors that complicate this. For example, you probably can not know how long you fall asleep. You may eat watermelon in the evening, which will cause frequent visits to the toilet. Also, the state of a person, how tired he is, whether he consumed alcohol, how many hours before bed he ate - are important factors that affect the duration of the cycle, and in particular the phases. And so on and so forth ...
Believe me , this is not so easy as it seems and how they write about it, the author somehow tried to do it - almost without success.
What do we offer?

At times it is more convenient and more efficient (!) To use your
iPhone as an assistant, who will determine the best time to wake up, based on your movements!
EasyWakeup is just for this! All you need is to set the interval in which you want to wake up and
put with you on one surface and it will wake you up at the most favorable time for your body. It's more like you woke up yourself - a great feeling when you need to get up at 6 am;)
Strictly speaking, there are already alarm clocks that track your movements in a dream to find a favorable wake-up time. For example, aXbo (200 € ~
270 $ ) or Sleeptracker (
$ 149 ).
EasyWakeup is the first smart alarm clock for the iPhone and its price is much lower than similar devices.
For current information on products, prices, differences between them and where to download, see the
page with EasyWakeup products on our website.
I would like to note that EasyWakeup has an advantage over alarms, with a similar algorithm, since the program is constantly being improved and there are new functions from version to version, existing ones are being improved, and appearance is being improved.
The program has already been translated into 12 languages ​​(Russian is present =))
EasyWakeup collects statistics of your sleep, it is possible to view the graphs of your nightly movements that you performed during the night, and if you wish, you can send the statistics by e-mail - for more detailed study.
Based on a review of one of our users Tiii.This is our first post on Habré. We will be grateful for the
quality feedback .
Respectfully,
Pavel aka venture,
team leader EasyWakeup.
upd: transferred to the thematic blog.
upd2: now you can simply use the program by putting the phone next to you on the mattress.