Resource Consumption Analysis of Online Activity Recognition on Mobile Phones and Smartwatches

Shoaib M., DURMAZ İNCEL Ö. , Scolten H., Havinga P.

36th IEEE International Performance, Computing, and Communications Conference (IPCCC), California, United States Of America, 10 - 12 December 2017 identifier

  • Publication Type: Conference Paper / Full Text
  • City: California
  • Country: United States Of America


Most of the studies on human activity recognition using smartphones and smartwatches are performed in an offline manner. In such studies, collected data is analyzed in machine learning tools with less focus on the resource consumption of these devices for running an activity recognition system. In this paper, we analyze the resource consumption of human activity recognition on both smartphones and smartwatches, considering six different classifiers, three different sensors, different sampling rates and window sizes. We study the CPU, memory and battery usage with different parameters, where the smartphone is used to recognize seven physical activities and the smartwatch is used to recognize smoking activity. As a result of this analysis, we report that classification function takes a very small amount of CPU time out of total app's CPU time while sensing and feature calculation consume most of it. When an additional sensor is used besides an accelerometer, such as gyroscope, CPU usage increases significantly. Analysis results also show that increasing the window size reduces the resource consumption more than reducing the sampling rate. As a final remark, we observe that a more complex model using only the accelerometer is a better option than using a simple model with both accelerometer and gyroscope when resource usage is to be reduced.