has healing abilities and a great effect on diverse
mental health problems such as depression, bipolar
disorder, anxiety, and suicide. According to Walker
(2017), sleep deprivation has also impact on
emotional moods among healthy individuals
(Matthew Walker, 2017).
3
OUTLINES OF OBJECTIVES
The overarching aim is to test the feasibility of
SleepTracker app to monitor and indirectly estimates
sleeping patterns in young people. The app will detect
changes in sleeping pattern that offer the opportunity
to provide advice on improving sleep or signpost to
early interventions for anxiety and depression.
4
INNOVATION
Previous studies by Z. Chen et al.(Ben-Zeev et al.
2015) and Min JK et al.(Min JK et al., 2014) had used
multiple sensors in smartphones to understand
sleeping patterns. However, the combined phone
usage and usage of these smart phone sensors such as
light, microphone, accelerometer can drain the smart
phone’s battery life.
Several other studies used the screen on/off events
to track sleeping pattern. Lin’s study of individuals’
sleeping pattern based on a defined sleeping time
window between 10.00 pm to 10.00 am disregarded
the variation of sleeping time according to different
individual’s preferences(Lin YH et al., 2019).
In another similar study, an app called
“iSenseSleep” was developed using the same screen
on/off events(Ciman and Wac, 2019). By considering
the longest time period where the phone is unused as
the sleeping time, this app estimates and predicts the
individual’s sleeping pattern by collecting data over
two days. This may not reflect the reality of the
changes of individual’s sleeping pattern according to
any changes in circumstances.
Having identified the shortcomings in other
studies and a possibility where individual may not
touch the phone even when they are awake, it is
therefore imperative to focus on the accuracy of the
sleep duration and patterns.
We implemented an algorithm to test the
feasibility of detecting individuals’ sleep duration
unobtrusively and compare it with their sleep diaries,
using the screen on/off event. With the result of 178
minutes of absolute mean difference, this algorithm
was further revised and improved with added light
and accelerometer sensors in the smart phones. This
revised algorithm results to an absolute mean
difference of 70 mins; an improved accuracy for the
purpose of understanding sleeping pattern and detect
insomnia.
5
TASK ANALYSIS
We had held a virtual focus group of 7 young adults;
with the intent of discussing the feasibility of
developing a “sleep tracking” app that runs in the
background without user intervention and the
frequencies of users’ phone usage before and after
bedtime.
The group indicated their preference for a user-
friendly app that is non-user intervention and does not
intrude their privacy such as the use of the phone’s
microphone or video camera. They are inclined
towards such desired app that runs in the background
that helps them understand their sleeping patterns and
mental health.
As for phone usage, most of the focus group
members checked their phones before getting up from
bed in the morning. They gave a mixed response of
waking up to phone alarms and on their own.
6
METHODOLOGY
We ran two field tests to ensure and improve on the
accuracy of the SleepTracker app in detecting users’
sleeping patterns.
The first field test was conducted over a 6-night
period. It collects data from seven participants and
calculated the sleep duration using an algorithm based
on the screen on/off events.
With improved algorithm and additional
movement and light sensors, the second field test was
conducted over a 7-night period, collecting data and
calculate individuals’ sleeping pattern from a fresh set
of six participants.
6.1 Field Test One
By calculating the time spent for mobile phone usage
and estimating daily sleeping hours, we developed the
SleepTracker app to estimate individual’s sleeping
pattern.
Due to the individuals’ different sleeping time
windows, the app defines a diurnal rhythm for which
the users record their sleeping window (i.e., the times
that they normally sleep). The app enables users to