Behavioural biometrics: Using smartphone keyboard activity as a proxy for rest-activity patterns

J Sleep Res. 2021 Oct;30(5):e13285. doi: 10.1111/jsr.13285. Epub 2021 Mar 5.

Abstract

Rest-activity patterns are important aspects of healthy sleep and may be disturbed in conditions like circadian rhythm disorders, insomnia, insufficient sleep syndrome, and neurological disorders. Long-term monitoring of rest-activity patterns is typically performed with diaries or actigraphy. Here, we propose an unobtrusive method to obtain rest-activity patterns using smartphone keyboard activity. The present study investigated whether this proposed method reliably estimates rest and activity timing compared to daily self-reports within healthy participants. First-year students (n = 51) used a custom smartphone keyboard to passively and objectively measure smartphone use behaviours and completed the Consensus Sleep Diary for 1 week. The time of the last keyboard activity before a nightly absence of keystrokes, and the time of the first keyboard activity following this period were used as markers. Results revealed high correlations between these markers and user-reported onset and offset of resting period (r ranged from 0.74 to 0.80). Linear mixed models could estimate onset and offset of resting periods with reasonable accuracy (R2 ranged from 0.60 to 0.66). This indicates that smartphone keyboard activity can be used to estimate rest-activity patterns. In addition, effects of chronotype and type of day were investigated. Implementing this method in longitudinal studies would allow for long-term monitoring of (disturbances to) rest-activity patterns, without user burden or additional costly devices. It could be particularly interesting to replicate these findings in studies amongst clinical populations with sleep-related problems, or in populations for whom disturbances in rest-activity patterns are secondary complaints, such as neurological disorders.

Keywords: circadian rhythm; digital biomarker; field assessment; monitoring; sleep diary; smartphone application.

MeSH terms

  • Actigraphy
  • Circadian Rhythm
  • Humans
  • Rest
  • Sleep*
  • Smartphone*