Sleep Shift is an android application developed as a part of a semester long project in CS160: User Interface Design at UC Berkeley. This application is designed to help users intelligently schedule their sleep times to adjust their circadian rhythms to a new timezone.
People who worked on this application include David Ju, Tatiana Ferreyra, Josef Nunez, and myself.
My main focus in this project was designing and implementing the input interfaces, and the schedule, as well as developing backend application logic.
To query users' origin and destination time zones, we use Google's PlacePicker.
To get a sense of when users sleep, we ask users to input their sleep time and wake time using Google's TimePicker dialog.
Our app can also help users schedule melatonin intake and can use a smartwatch's light sensor to monitor surrounding ambient light. Users can hold a selection to find out more information about these options.
A simple summary of the user's inputted options.
Schedules are the main core of Sleep Shift. A schedule plots out key events in a user's transition from one time zone to the next. Each night, Sleep Shift offers advice about the optimal sleep time and when to take melatonin so that it is most biologically viable. Sleep Shift also uses a smartwatch's ambient light sensor to monitor a user's surrounding light and to notify users if they are in an environment that may make sleeping at the right time more difficult.
Sleep periods are represented in graph form. Each night, Sleep Shift plots a user's sleep period in their destination time zone in yellow, and their scheduled sleep period in blue. As the sleep plan progresses, users can see that the two schedules come together and visually overlap.
You can check out the github repository