Is This Sleep Tracking App Idea Realistic?

Got comments?
Is This Sleep Tracking App Idea Realistic?

Here is an idea for a smartwatch app that I have been
keeping in my head for a while. I wasn't sure whether it already existed, so I thought I could figure that out by explaining it as best as possible. Be sure to let me know if you've seen one like this or are ready to build it.

The idea is pretty simple. It is based on the idea that if one is trying to fall asleep but can't, it's much better to get up and do something for a while than tossing and turning in bed for hours. The problem is figuring out how long is "enough? Until you know it, three hours had passed, and you're still in bed, thinking about how terrible you'd feel on the day after.

A clever smartwatch alarm could solve that problem quickly. Beyond a particular hour of the day (say, 11 PM), it would do periodic check-ups to determine our state. Using motion sensors and heart rate detection, it could tell whether we're in one of three states:

  • fully awake.
  • lying in bed
  • asleep

If we are fully awake, the app would periodically encourage us to go to bed. Once we are there, however, is where the tricky bit happens. The app needs to be smart enough to determine that we have been lying in bed for a certain period of time (e. g., 20 wins) and are still awake. Only then should the app trigger an alert for us to get up and do something else for a while. The last thing on Earth we want is to get kicked out of our sleep by a loud buzzing.

So, this is the idea in short. Does it sound feasible? Has anyone seen anything like that before?