Enhancing mobile apps to use sensor hubs without programmer effort

Haichen Shen, Aruna Balasubramanian, Anthony LaMarca and David Wetherall

Abstract

Always-on continuous sensing apps drain the battery quickly because they prevent the main processor from sleeping. Instead, sensor hub hardware, available in many smartphones today, can run continuous sensing at lower power while keeping the main processor idle. However, developers have to divide functionality between the main processor and the sensor hub. We implement MobileHub, a system that automatically rewrites applications to leverage the sensor hub without additional programming effort. MobileHub uses a combination of dynamic taint tracking and machine learning to learn when it is safe to leverage the sensor hub without affecting application semantics. We implement MobileHub in Android and prototype a sensor hub on a 8-bit AVR micro-controller. We experiment with 20 applications from Google Play. Our evaluation shows that MobileHub significantly reduces power consumption for continuous sensing apps.

Venue
UbiComp / IMWUT 2015
Volume
Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing
DOI
10.1145/2750858.2804260
PDF
https://dl.acm.org/doi/pdf/10.1145/2750858.2804260
Anthology ID
2015.ubicomp.12

Cite

@inproceedings{shen-etal-2015-enhancing,
    title = {{Enhancing mobile apps to use sensor hubs without programmer effort}},
    author = {Haichen Shen and Aruna Balasubramanian and Anthony LaMarca and David Wetherall},
    booktitle = {Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing},
    isbn = {9781450335744},
    year = {2015},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/2750858.2804260},
    url = {https://doi.org/10.1145/2750858.2804260},
    abstract = {Always-on continuous sensing apps drain the battery quickly because they prevent the main processor from sleeping. Instead, sensor hub hardware, available in many smartphones today, can run continuous sensing at lower power while keeping the main processor idle. However, developers have to divide functionality between the main processor and the sensor hub. We implement MobileHub, a system that automatically rewrites applications to leverage the sensor hub without additional programming effort. MobileHub uses a combination of dynamic taint tracking and machine learning to learn when it is safe to leverage the sensor hub without affecting application semantics. We implement MobileHub in Android and prototype a sensor hub on a 8-bit AVR micro-controller. We experiment with 20 applications from Google Play. Our evaluation shows that MobileHub significantly reduces power consumption for continuous sensing apps.}
}