You are on page 1of 4

2018 IEEE 15th International Conference on Wearable and Implantable Body Sensor Networks (BSN)

4-7 March 2018


Las Vegas, Nevada, USA

Impact of Different Pre-Sleep Phone Use Patterns on Sleep Quality


Sudip Vhaduri1 and Christian Poellabauer1

Abstract— As the economy progresses and new technology to understand the use of smartphones during different times
emerges, more people are struggling with sleep-related difficul- periods before sleep (i.e., before bed-time and during the
ties. Researchers have previously identified that smartphone time to fall asleep) and the resulting variations in sleep
use may be associated with poor sleep quality. However,
smartphones have become an indispensable part of modern life. quality.
Therefore, it is important to investigate the potential impacts
of smartphone use patterns on an individual’s health. In this B. Related Work
paper, we investigate sleep quality variations between two sets
of pre-sleep phone use patterns: phone use before bed-time and Assessment of sleep quality and sleep hygiene has been
phone use during bed-time (before sleep). Our analysis, based an active area of research for a long time. Researchers have
on a multi-year mobile crowdsensed data collection effort on found an association between smartphone use and poor sleep
more than 400 college students, shows significant sleep quality quality [4], [5], [6], [8], [9], triggered by receiving text mes-
variations when a phone is used in either of these two usage
patterns compared to when it is not used. However, the results sages and phone calls [8], exposure to blue light from phone
also show that phone use during bed-time leads to a significantly screens while surfing on the Internet or social media [4],
worse sleep quality. We expect that these findings will be useful listening to music [5], presence of violence and sexual con-
for individuals, public authorities, and smartphone developers tent in the media [6], etc. Smartphones are an indispensable
to improve smartphone users’ sleep quality. part of modern life since they are used for various purposes
I. I NTRODUCTION including communication, leisure time entertainment, social
networking, information gathering, and navigation. While it
A. Motivation
will therefore be impossible to stop phone use altogether,
Insufficient sleep and poor sleep quality have been de- we need to understand the effects of phone use (during
clared as a “public health problem” by the Centers for different times of the day) on users’ sleep quality in order
Disease Control and Prevention (CDC) in the United States. to identify potential recommendations or solutions. This
According to the CDC, more than a third of American adults requires a large-scale study over an extended period of time,
are not getting enough sleep on a regular basis and this rate which is not possible using current approaches that rely
continues to rise [1]. This increasing sleep loss and its effect only on one-time surveys or limited (in-lab) experimental
on sleep quality are associated with psychosocial stress, setups. Surveys often suffer from inaccuracies and biases,
anxiety and depression, unbalanced diet and obesity, lack of such as recall bias, and memory limitations [10], [11],
physical activity [1], difficulties with speech, mood changes, while in-lab experiments are limited in scale, time and other
lapses of memory and illusions [2], and suicide [3]. Also, factors. However, with the advancement of smartphones and
seven of the fifteen leading causes of death in the United wearables, we are now able to collect large-scale behavioral
States, including cardiovascular disease, diabetes, hyperten- data (e.g., sleep habits, phone use behaviors) from users’
sion, and accidents, have been linked to sleep difficulties [1]. daily life [12], [13], [14], [15], [16], [17]. This makes it
Besides affecting health and well-being, sleep also negatively feasible to accurately analyze various sleep quality factors
impacts workplace productivity and cognitive performance, such as the number and durations of awakenings or counts
which can lead to traffic accidents, industrial accidents, and and durations of restless periods during a sleep session. Such
medical errors [1]. An annual economic loss ranging from detailed sleep quality analysis allows us to better understand
$299 billion to $433 billion has been estimated for year sleep quality variations due to phone use at different times,
2020 in the U.S. due to insufficient sleep and its impact on e.g., before bed-time and during bed-time, and hence to
workplace productivity [1]. In addition to all these negative potentially regulate the use of phones to promote sleep
impacts, poor sleep quality also adversely affects the school quality.
performance and academic success of college students. Many
young adults who frequently use their phones before bed- C. Contributions
time have been found to suffer from poor sleep quality
based on data obtained from surveys [4], [5], [6]. However, The main contribution of this work is to reveal the
smartphones with their numerous benefits have become an differences in sleep quality among two types of pre-sleep
indispensable part of modern life. Therefore, it is important phone use – (1) before getting into bed (i.e., pre-bed-time)
and (2) while in bed (i.e., bed-time) – using sensor data
*This work was not supported by any organization from a multi-year mobile crowdsensed data collection effort.
1 S. Vhaduri, and C. Poellabauer are with the Department of Computer
Science and Engineering, University of Notre Dame, Notre Dame, IN 46556, Through our analysis we have found that both types of sleep
USA {svhaduri,cpoellab} at nd.edu sessions lead to poor sleep quality. However, sleep sessions
978-1-5386-1109-8/18/$31.00 ©2018 IEEE 94
Fig. 1. A main sleep session (i.e., the longest period of sleep in a day) and a user’s phone use before the sleep session. The entire sleep session (i.e.,
[t1 , t4 ], “time in bed”) is composed of “time to fall asleep” (i.e., [t1 , t2 ], left maroon horizontal bar), “sleep-time” (i.e., [t2 , t3 ], blue horizontal bar) and
“time after wake-up” (i.e., [t3 , t4 ], right maroon horizontal bar). According to the Fitbit Charge HR device during sleep-time a user stays in three stages
– “asleep”, “restless”, and “awake” [7]. The left black horizontal bar denotes the pre-bed-time (Δt ). We analyze the user’s phone use in terms of screen
unlock-lock sessions and audio busy samples.

associated with bed-time phone use lead to a significantly with more than 400 freshmen. The goal of the study was to
worse quality compared to pre-bed-time sessions. investigate the impacts of “always-on connectivity” on the
health habits, emotional wellness, and social ties of college
II. DATA C OLLECTION AND M ETHODS
students over a multi-year period. All procedures were fully
In this paper, we intend to demonstrate the link between approved by the IRB before distribution. The students were
phone use behaviors before sleep with sleep quality using instructed to continuously wear a Fitbit Charge HR device
data from multiple devices. Before we describe the details that was provided to them. Further, they were given a data
of the analysis, we first introduce some sleep related ter- collection app for their iPhones. Both the Fitbit and the
minology and then we introduce the dataset, methods, and smartphone app collected data 24 hours a day. Occasionally,
pre-processing steps used in this work. the students were also asked to respond to various types of
A. Preliminaries and Definitions surveys including the PSQI survey [18]. All students resided
in on-campus dormitories and received a payment of $50 at
A Fitbit Charge HR device provides three sleep stages [7]:
the time of enrollment, followed by a monthly incentive up
• Asleep: A user’s body is completely at rest and not
to $35 based on their compliance. Subjects had an average
moving. age of 17 years and 11 months (SD = 11 months).
• Restless: A user’s body transitions from a very restful
The data collected by the smartphone app includes iden-
position with little movement to movement, such as tifiers of the device’s network connections (Wi-Fi, cellu-
turning over in bed, which does not necessarily mean lar), battery charge level, screen state, geographic location,
fully awake or cognizant of movements. and user communications (e.g., phone calls). Sensor data
• Awake: A user has cognizant movements.
are transmitted to a remote server via a nightly upload
B. NetHealth Study Dataset mechanism. The data collected by the Fitbit device includes
heart rate, calorie burn, physical activity level, step count,
The NetHealth mobile crowd sensing (MCS) study [12],
sleep status, and self-recorded activity labels. These sensor-
[13], [14] began at the University of Notre Dame in 2015
based sleep data can be used to analyze sleep behavior
over an extended period of time due to their reasonable
TABLE I accuracy [19]. Table I shows a summary of the dataset that
DATA S UMMARY we use in this work.

Device Sensor Data Type Sampling C. Data Pre-Processing


Period
Phone Screen State unlock, lock Callback Unlike the audio state, iOS provides the screen state as
Audio State busy, not busy 120 s two callback labels, i.e., “unlock” and “lock.” Similarly, the
Fitbit Sleep Status asleep, restless, awake 60 s Fitbit Charge HR device provides sleep session as a set
Fitbit Sleep Session start time, end date, time in Callback
bed, session duration, time to of callback labels (Table I). Therefore, before we use this
fall asleep, restless count & information, we need to process them to form “sessions”.
duration, time after wake-up, 1) Fitbit Sleep Sessions: A Fitbit expresses each sleep
asleep duration, main sleep
flag, awake count & duration session with a start time, a duration (in millisecond), and an
end date (i.e., year, month, and day). Since sleep sessions
95
often begin during one day and end on the next, the end use information. To analyze pre-bed-time phone use, we
date and duration is used to determine if the sleep session consider Δt = 30 minutes [4].
began the previous day and the start time combined with To compare the sleep quality variation between two sets of
the duration provides us with the session end time. That is, sleep sessions with different phone use timing, we perform
a session is then expressed as 2-tuple (start-date-time, end- the Two-Sample t-Test with H0 : μS1 i = μS2 i , where μS1 i
date-time). Figure 1 presents a main sleep session along with and μS2 i are the average values of sleep quality measure Si
its different parts. In the figure, t1 and t4 are the two elements obtained from two groups of sleep sessions. For significance
of the 2-tuple, t2 = t1 + time to fall asleep, and t3 = t4 - testing, we compare our p − values with three levels of α,
time after wake-up. A full session time (i.e., “time in bed”) i.e., p < .001 (marked as “***”), p < .05 (marked as “**”),
is defined by: time in bed = time to fall asleep + asleep p < .1 (marked as “*”), and p > .1 (marked as “.”).
duration + awake duration + time after wake-up [7]. This
work is based on the main sleep sessions. A. Phone Use vs. Not Use during Pre-bed-time
2) Phone Screen Unlock-lock Sessions: We first filter out Table III presents the summary of the Two-Sample t-Test
redundant and faulty screen state labels and then combine performed on various sleep quality measures across two
successive “unlock” and “lock” times to define a session. groups of sleep sessions – (1) phone use during pre-bed-
That is, a session is then expressed as 2-tuple (unlock-time, time (G#1) and (2) no phone use during pre-bed-time (G#2).
lock-time). We observe that the first three sleep quality measures, i.e.,
awake count, awake duration, and restless count are always
D. Methods significantly worse for the sleep sessions when the phones
To assess students’ phone use behavior and sleep quality, are used during pre-bed-time. Therefore, phone use during
we first investigate whether there is any significant difference pre-bed-time may have an adverse impact on the quality of
in the quality of sleep between the two sets of sleep sessions, a sleep session.
i.e., sessions with phone use and sessions without phone use
during pre-bed-time (i.e., Δt in Figure 1) (Section III-A). B. Phone Use vs. Not Use during Bed-time
Then, we investigate whether sleep quality varies between Table IV shows the summary of the Two-sample t-Test
sessions with phone use and sessions without phone use dur- performed on various sleep quality measures across two
ing “time to fall asleep” (i.e., [t1 , t2 ] in Figure 1) (Section III- groups of sleep sessions – (1) phone use during bed-time
B). Finally, we test whether sleep quality varies between (actually “time to fall asleep”) (G#1) and (2) no phone use
sessions with phone use during pre-bed-time and bed-time during bed-time (G#2). From the table we observe that all
in Section III-C. We use multiple measures to assess both four sleep quality measures are significantly worse for G#1
sleep quality and phone use behavior. We analyze our data compared to G#2. Therefore, phone use during bed-time may
using the Two-Sample t-Test. have an adverse impact on the quality of a sleep session.

III. A NALYSIS C. Phone Use during Pre-bed-time vs. Bed-time


We analyze subjects’ phone use behavior based on phone In this section we compare the sleep quality difference
screen unlock-lock sessions (P1 ), audio port busy samples between two sets of sleep sessions, i.e., when users use
(P2 ), and a combination of both phone screen unlock-lock their phones (1) during bed-time, but not during pre-bed-time
sessions and audio port busy samples (P3 ). To measure the (G#1) and (2) during pre-bed-time, but not during bed-time
quality of a sleep session, we use awake count (i.e., number
of awakenings) (S1 ), awake duration (S2 ), restless count TABLE III
(S3 ), and restless duration (S4 ). These are negative measures T HE Two-Sample t-Test SUMMARY FOR PHONE USE VS . NOT USE DURING
of sleep quality, i.e., higher values are worse [18]. PRE - BED - TIME . F OR THE THREE TYPES OF PHONE USE THE DEGREES OF
Table II shows the distribution of sleep sessions obtained FREEDOM ( DF ) ARE 107345, 106902, AND 107623, RESPECTIVELY. PU
from subjects who use their phones during pre-bed-time and AND SQ STANDS FOR PHONE USE TYPE AND SLEEP QUALITY MEASURE .
bed-time, which is actually “time to fall asleep” in this case.
Each of these subjects has at least 10 main sleep sessions. PU SQ μ1 μ2 t− signifi-
The subject counts are varying based on the type of phone (σ1 ) (σ2 ) stat. cance
S1 15.2(8.3) 14.6(8.2) 11.50 ***
P1 S2 29.3(27.1) 28.9(29.9) 2.33 **
TABLE II S3 14.0(7.8) 13.4(7.7) 13.02 ***
D ISTRIBUTION OF PRE - BED - TIME AND BED - TIME PHONE USE S4 28.2(27.7) 28.4(31.0) -0.80 .
S1 15.4(8.3) 14.7(8.3) 12.54 ***
P2 S2 30.0(28.3) 28.8(28.7) 5.74 ***
Phone Pre-bed-time (Δt = 30 min.) Bed-time S3 14.3(7.8) 13.5(7.7) 14.74 ***
Use Subject Phone use? Subject Phone use? S4 29.1(29.3) 28.1(29.6) 4.64 ***
Measure Count Yes No Count Yes No S1 15.2(8.3) 14.6(8.2) 11.69 ***
Screen 429 50768 56579 114 711 2965 P3 S2 29.3(27.1) 28.9(29.9) 2.48 **
Audio 422 25822 81082 64 201 2055 S3 14.0(7.8) 13.4(7.7) 13.27 ***
Both 431 52061 55564 118 733 2967 S4 28.2(27.7) 28.4(31.0) -0.76 .

96
(i.e., Δt in Figure 1) (G#2). From the Two-Sample t-Test R EFERENCES
results presented in Table V, we observe that the first and [1] M. Hafner et al., “Why sleep mattersthe economic costs of insufficient
last sleep quality measures are always significantly worse sleep: A cross-country comparative analysis,” Rand Health Quarterly,
for G#1 compared to G#2. Therefore, phone use during bed- vol. 6, no. 4, 2017.
[2] G. Gulevich, W. Dement, and L. Johnson, “Psychiatric and eeg obser-
time may have a worse impact on sleep quality compared to vations on a case of prolonged (264 hours) wakefulness,” Archives of
phone use during pre-bed-time. General Psychiatry, vol. 15, no. 1, pp. 29–35, 1966.
[3] M. Kodaka et al., “Suicide risk among individuals with sleep distur-
IV. D ISCUSSION AND F UTURE W ORK bances in japan: a case–control psychological autopsy study,” Sleep
medicine, vol. 15, no. 4, pp. 430–435, 2014.
To the best of our knowledge, this is the first work [4] J. C. Levenson et al., “Social media use before bed and sleep
that investigates the sleep quality variation between two disturbance among young adults in the united states: A nationally
representative study,” Sleep, vol. 40, no. 9, 2017.
different sets of sleep sessions (subjects using their phones [5] K. M. Orzech et al., “Digital media use in the 2 h before bedtime is
during pre-bed-time and bed-time) using sensor data from associated with sleep variables in university students,” Computers in
a mobile crowdsensed data collection on an on-campus human behavior, vol. 55, pp. 43–50, 2016.
[6] L. Exelmans et al., “Bedtime mobile phone use and sleep in adults,”
student population over an extended period of time. In our Social Science & Medicine, vol. 148, pp. 93–101, 2016.
analysis, we identify poor sleep quality for sleep sessions [7] “Fitbit charge hr sleep stages,” Accessed: October 2017. [Online].
where the subjects use their phones either during pre-bed- Available: https://dev.fitbit.com/reference/web-api/sleep/
[8] L. Rosen, L. M. Carrier, A. Miller, J. Rokkum, and A. Ruiz, “Sleeping
time or during bed-time. However, sleep quality is signifi- with technology: cognitive, affective, and technology usage predictors
cantly worse for sleep sessions where the subjects use their of sleep problems among college students,” Sleep Health: Journal of
phones during bed-time compared to sleep sessions where the National Sleep Foundation, vol. 2, no. 1, pp. 49–56, 2016.
[9] “Your smartphone may be hurting your sleep,” Accessed: October
the subjects use their phones during pre-bed-time. These 2017. [Online]. Available: https://goo.gl/TPPKtb
sensor-based findings from Fitbit Charge HR devices have [10] S. Vhaduri et al., “Human factors in the design of longitudinal
a better accuracy compared to existing sleep research using smartphone-based wellness surveys,” in Proc. ICHI. IEEE, 2016.
[11] S. Vhaduri and C. Poellabauer, “Design factors of longitudinal
surveys. However, we believe that more focused studies for smartphone-based health surveys,” Journal of Healthcare Informatics
an extended period of time with different populations are Research, vol. 1, no. 1, pp. 1–40, 2017.
needed before generalizing the findings. Our findings can [12] S. Vhaduri et al., “Discovering places of interest using sensor data
from smartphones and wearables,” in Proc. UIC. IEEE, 2017.
inform recommendations for individuals to improve their [13] ——, “Wearable device user authentication using physiological and
physical and mental health. Similarly, health professionals behavioral metrics,” in Proc. PIMRC. IEEE, 2017.
could be guided to help their clients. Also, smartphone and [14] S. Vhaduri and C. Poellabauer, “Hierarchical cooperative discovery of
personal places from location traces,” IEEE Transactions on Mobile
other smart technology developers could make smart devices Computing, 2018, doi: http://ieeexplore.ieee.org/document/8119982/.
even smarter by regulating the availability of various services [15] S. Vhaduri et al., “Cooperative discovery of personal places from
that might have a worse impact on sleep quality, with a goal location traces,” in Proc. ICCCN, 2016.
[16] S. Vhaduri and C. Poellabauer, “Assessing health trends of college
to maintain users’ healthy sleep quality. In future work, it students using smartphones,” in Pro. HI-POCT. IEEE, 2016.
will be important to further investigate the impacts of users’ [17] S. Vhaduri, S. Kumar et al., “Estimating drivers’ stress from gps
physical activity, use of other types devices, and engagement traces,” in Proc. AutomotiveUI. ACM, 2014.
[18] D. J. Buysse et al., “Quantification of subjective sleep quality in
in various spatio-temporal contexts on their sleep quality. healthy elderly men and women using the pittsburgh sleep quality
Also, it is important to investigate the association among the index (psqi),” Sleep, vol. 14, no. 4, pp. 331–338, 1991.
sleep quality measures from sensor data and surveys using [19] “Sleep tracker accuracy,” Accessed: October 2017. [Online]. Available:
https://goo.gl/yv12p1
more advanced sleep trackers that can provide detailed sleep
levels, e.g., REM, light, and deep sleep.
TABLE V
TABLE IV T HE Two-Sample t-Test SUMMARY OF PHONE USE DURING PRE - BED - TIME
T HE Two-Sample t-Test SUMMARY OF PHONE USE VS . NOT USE DURING AND BED - TIME . F OR THE THREE TYPES OF PHONE USE THE DEGREES OF
BED - TIME . F OR THE THREE TYPES OF PHONE USE THE DEGREES OF FREEDOM ( DF ) ARE 266, 323, AND 257, RESPECTIVELY. PU AND SQ
FREEDOM ( DF ) ARE 3674, 2254, AND 3698, RESPECTIVELY. STANDS FOR PHONE USE TYPE AND SLEEP QUALITY MEASURE .

PU SQ μ1 μ2 t− signifi- PU SQ μ1 μ2 t− signifi-
(σ1 ) (σ2 ) stat. cance (σ1 ) (σ2 ) stat. cance
S1 16.1(14.6) 14.4(8.9) 3.94 *** S1 19.2(16.4) 14.9(10.5) 2.31 **
P1 S2 26.7(49.0) 25.4(30.1) 0.90 . P1 S2 33.7(40.7) 30.3(44.1) 0.50 .
S3 12.6(9.7) 12.8(7.5) -0.71 . S3 14.3(11.2) 12.6(7.8) 1.28 .
S4 38.5(43.8) 29.6(31.8) 6.15 *** S4 49.7(49.5) 35.2(42.5) 2.07 **
S1 19.5(20.0) 14.1(8.9) 6.99 *** S1 20.7(16.2) 14.3(8.7) 4.57 ***
P2 S2 33.4(63.9) 22.9(27.4) 4.37 *** P2 S2 29.1(42.1) 22.2(29.7) 1.68 *
S3 14.1(12.0) 12.3(7.3) 3.03 ** S3 14.6(9.7) 12.0(7.1) 2.72 **
S4 55.3(62.0) 28.5(26.5) 11.61 *** S4 57.0(47.5) 29.4(28.9) 6.43 ***
S1 16.3(15.0) 14.4(8.7) 4.55 *** S1 23.4(19.9) 14.4(9.5) 4.63 ***
P3 S2 27.4(50.0) 25.2(29.6) 1.51 . P3 S2 43.1(52.9) 28.8(42.1) 2.01 **
S3 12.7(9.8) 12.8(7.5) -0.40 . S3 16.6(12.2) 12.3(7.5) 3.08 **
S4 38.9(44.8) 29.5(31.6) 6.60 *** S4 61.9(61.1) 34.6(42.3) 3.67 ***

97

You might also like