Fake Dawn: an Android app to wake up gently

Posted on 2012/07/23

6


Fake Dawn IconI present you my first Android app: Fake Dawn.

Fake Dawn is an alarm that gradually increases brightness and sound volume to lead you out of deep sleep and wake you up gently. There’s plenty of medical research indicating that our sleep rhythm is influenced by light. Usually we are impacting negatively our sleep pattern using bright light in the evenings or even leaving electronic screens on while we sleep. But we can use this mechanism to help alleviate one of the most difficult moments of the entire day, and the crucial one to start the day in a bright mood: waking up.

Have you ever slept a sufficient amount of hours, but wake up groggy and tired? That’s probably because you woke up during a phase of deep sleep. Ambient light (particularly blue light, it seems) can push the body from a state of deep sleep towards being awake. If you could have a light that turns on something like half an hour before your loud alarm goes off, you could bring yourself in a state that is optimal for waking up. Fake Dawn lets you do just this: you can brighten your room gradually in the morning, and then you can play a sound alarm, gently waking you up.

You can choose the behavior of brightness and sound independently. There are 4 moments to choose:

  1. when the brightness starts to rise
  2. when the brightness reaches its maximum
  3. when the sound starts to play at minimum volume
  4. when the sound reaches maximum volume
Fake Dawn Preferences Screen

Fake Dawn Preferences Screen

I implemented the choosing of these four moments with a custom control: it’s a slider with two “pins” to move with your finger. Each pin represents a moment, and the colored bar visualizes the minimum and maximum of effect.

There are two independent sliders: one for the brightness and one for the sound. The brightness slider is the same color as the screen when the alarm goes off.

There’s also the option of adding vibration to the alarm, and the possibility to choose the days of the week when the alarm goes off.

I wanted to make sure the preferences shows intuitively the behavior of the alarm, and I think I did at least something original.

Fake Dawn is Free Open Source Software, I distribute it under GPL3 so that programmers who wants to develop an open source app can take code from mine. The code repository is both at Google Code and GitHub.

You are invited to install it, try it and review it. Be aware that this is my first attempt at an Android app so there might be problems, especially related to the display of the controls on screen, but I use it on my Galaxy S since May and it never fails to wake me up.

 

Posted in: Software