{'fraction_non_alphanumeric': 0.02235929067077872, 'fraction_numerical': 0.01156515034695451, 'mean_word_length': 5.300970873786408, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Smartphones as Sleep Duration Sensors: Validation of the iSenseSleep Algorithm

Background Smartphones are becoming increasingly ubiquitous every day; they are becoming more assimilated into our everyday life, being the last thing used before going to sleep and the first one after waking up. This strong correlation between our lifestyle choices and smartphone interaction patterns enables us to use them as sensors for sleep duration assessment to understand individuals’ lifestyle and sleep patterns. Objectives The objective of this study was to estimate sleep duration based on the analysis of the users’ ON-OFF interaction with their smartphone alone using the iSenseSleep algorithm. Methods We used smartwatch sleep assessment data as the ground truth. Results were acquired with 14 different subjects collecting smartwatch and smartphone interaction data for up to 6 months each. Results Results showed that based on the smartphone ON-OFF patterns, individual’s sleep duration can be estimated with an average error of 7% (24/343) [SD 4% (17/343)] min of the total duration), enabling an estimate of sleep start and wake-up times as well as sleep deprivation patterns. Conclusions It is possible to estimate sleep duration patterns using only data related to smartphone screen interaction.