skip to main content
10.1145/2750858.2807531acmconferencesArticle/Chapter ViewAbstractPublication PagesubicompConference Proceedingsconference-collections
research-article

EnTrack: a system facility for analyzing energy consumption of Android system services

Published: 07 September 2015 Publication History

Abstract

Energy accounting is an essential requirement for optimizing energy consumption on mobile devices. State-of-the-art approaches consider application processes and threads as the sole components of energy consumption. In this framework, the energy consumption of system services is unclear and has not been comprehensively studied. In this paper, we suggest that the energy consumption of system services should be investigated to understand the behavior of applications. We propose a fine-grained energy tracing scheme, EnTrack, to enhance the accuracy of energy tracing by identifying and incorporating the energy portions consumed by system services. We implemented EnTrack on the Android platform and validated its functionality and usefulness. In addition, practical usage cases of EnTrack, which uses it as an energy behavior analysis tool, were introduced. The case studies demonstrated that EnTrack enables an understanding of fine-grained energy consumption, especially in system services, which have previously been concealed.

References

[1]
Rahmati, A., Qian, A., and Zhong, L. Understanding human-battery interaction on mobile phones. In Proc. MobileHCI 2007, ACM Press (2007), 265--272.
[2]
Truong, K. N., Kientz, J. A., Sohn, T., Rosenzweig, A., Fonville, A., and Smith, T. The design and evaluation of a task-centered battery interface. In Proc. UbiComp 2010, ACM Press (2010), 341--350.
[3]
Ma, X., Huang, P., Jin, X., Wang, P., Park, S., Shen, D., Zhou, Y., Saul, L. K., and Voelker, M. eDoctor: automatically diagnosing abnormal battery drain issues on smartphones. In Proc. NSDI 2013, USENIX (2013), 57--70.
[4]
Oliner, A. J., Iyer, A. P., Stoica, I., Lagerspetz, E., and Tarkoma, S. Carat: collaborative energy diagnosis for mobile devices. In Proc. SenSys 2013, ACM Press (2013).
[5]
Ferreira, D., Ferreira, E., Goncalves, J., Kostakos, V., and Dey, A. K. Revisiting human-battery interaction with an interactive battery interface. In Proc. UbiComp 2013, ACM Press (2013), 563--572.
[6]
Mittal, R., Kansal, A., and Chandra, R. Empowering developers to estimate app energy consumption. In Proc. MobiCom 2012, ACM Press (2012), 317--328.
[7]
Li, D., Hao, S., Halfond, W. G. J., and Govindan, R. Calculating source line level energy information for Android applications. In Proc. ISSTA 2013, ACM Press (2013), 78--89.
[8]
Lee, S., Yoon, C., and Cha, H. User interaction-based profiling system for Android application tuning. In Proc. UbiComp 2014, ACM Press (2014), 289--299.
[9]
Flinn, J., and Satyanarayanan, M. Energy-aware adaptation for mobile applications. In Proc. SOSP 1999, ACM Press (1999), 48--63.
[10]
Zeng, H., Ellis, C. S., Lebeck, A. R., and Vahdat, A. ECOSystem: managing energy as a first class operating system resource. In Proc. ASPLOS X, ACM Press (2002), 123--132.
[11]
Shen, K., Shriraman, A., Dwarkadas, S., Zhang, X., and Chen, Z. Power containers: an OS facility for fine-grained power and energy management on multicore servers. In Proc. ASPLOS 2013, ACM Press (2013), 65--76.
[12]
Martins, M., and Fonseca, R. Application modes: a narrow interface for end-user power management in mobile devices. In Proc. HotMobile 2013, ACM Press (2013).
[13]
Zhang, N., Ramanathan, P., Kim, K. H., and Banerjee, S. PowerVisor: a battery virtualization scheme for smartphones. In Proc. MCS 2012, ACM, New York, NY, 37--44.
[14]
Dong, M., Lan, T., and Zhong, L. Rethink energy accounting with cooperative game theory. In Proc. MobiCom 2014, ACM Press (2014), 531--542.
[15]
Zhang, L., Tiwana, B., Qian, Z., Wang, Z., Dick, R. P., Mao, Z. M., and Yang, L. Accurate online power estimation and automatic battery behavior based power model generation for smartphones. In Proc. CODES+ISSS 2010, ACM Press (2010), 105--114.
[16]
Pathak, A., Hu, Y. C., Zhang, M., Bahl, P., and Wang, Y. Fine-grained power modeling for smartphones using system call tracing. In Proc. EuroSys 2011, ACM Press (2011), 153--168.
[17]
Yoon, C., Kim, D., Jung, W., Kang, C., and Cha, H. AppScope: application energy metering framework for Android smartphones using kernel activity monitoring. In Proc. USENIX ATC 2012, USENIX (2012), 387--400.
[18]
Chen, M. Y., Accardi, A., Kıcıman, E., Lloyd, J., Patterson, D., Fox, A., and Brewer, E. Path-based failure and evolution management. In Proc. NSDI 2004, USENIX (2004), 309--322.
[19]
Barham, P., Donnelly, A., Isaacs, R., and Mortier, R. Using Magpie for request extraction and workload modelling. In Proc. OSDI 2004, USENIX (2004), 259--272.
[20]
Fonseca, R., Porter, G., Katz, R. H., Shenker, S., and Stoica, I. X-Trace: a pervasive network tracing framework. In Proc. NSDI 2007, USENIX (2007), 271--284.
[21]
Ravindranath, L., Padhye, J., Agarwal, S., Mahajan, R., Obermiller, I., and Shayandeh, S. AppInsight: mobile app performance monitoring in the wild. In Proc. OSDI 2012, USENIX (2012), 107--120.
[22]
Keniston, J., Panchamukhi, P., and Hiramatu, M. Kernel Probes (Kprobes). Retrieved February 21, 2015 from http://www.kernel.org/doc/Documentation/kprobes.txt.
[23]
Fonseca, R., Dutta, P., Levis, P., and Stoica, I. Quanto: tracking energy in networked embedded systems. In Proc. OSDI 2008, USENIX (2008), 323--338.
[24]
UI/Application Exerciser Monkey. Retrieved February 21, 2015 from http://developer.android.com/tools/help/monkey.html.
[25]
Monsoon Solutions Inc. Power Monitor. Retrieved February 21, 2015 from https://www.msoon.com/LabEquipment/PowerMonitor.
[26]
Traceview. Retrieved February 21, 2015 from http://developer.android.com/tools/help/traceview.html.
[27]
Qualcomm Technologies, Inc. Trepn Profiler. Retrieved February 21, 2015 from https://developer.qualcomm.com/mobile-development/increase-app-performance/trepn-profiler.
[28]
ARM Ltd. Optimize: Streamline Performance Analyzer. Retrieved February 21, 2015 from http://ds.arm.com/ds-5/optimize/.
[29]
Bug 847223 - Don't decode images that aren't visible when we download them. Retrieved February 21, 2015 from https://bugzilla.mozilla.org/show_bug.cgi?id=847223.
[30]
Bryant, R. E. and O'Hallaron, D. R. Computer Systems: A Programmer's Perspective. Prentice Hall (2004).
[31]
Liu, Y., Xu, C., and Cheung, S. -C. Characterizing and detecting performance bugs for smartphone applications. In Proc. ICSE 2014, ACM Press (2014), 1013--1024.
[32]
LifeMap. Retrieved February 21, 2015 from https://play.google.com/store/apps/details?id=com.mobed.lifemap
[33]
Windows Phone. Retrieved June 21, 2015 from https://www.windowsphone.com/
[34]
Tizen. Retrieved June 21, 2015 from https://www.tizen.org/
[35]
iOS. Retrieved June 21, 2015 from https://www.apple.com/ios/

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
UbiComp '15: Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing
September 2015
1302 pages
ISBN:9781450335744
DOI:10.1145/2750858
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 07 September 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. energy consumption tracing
  2. energy optimization
  3. mobile systems

Qualifiers

  • Research-article

Funding Sources

  • National Research Foundation of Korea (NRF), funded by the Korean government, Ministry of Education, Science and Technology

Conference

UbiComp '15
Sponsor:
  • Yahoo! Japan
  • SIGMOBILE
  • FX Palo Alto Laboratory, Inc.
  • ACM
  • Rakuten Institute of Technology
  • Microsoft
  • Bell Labs
  • SIGCHI
  • Panasonic
  • Telefónica
  • ISTC-PC

Acceptance Rates

UbiComp '15 Paper Acceptance Rate 101 of 394 submissions, 26%;
Overall Acceptance Rate 764 of 2,912 submissions, 26%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)11
  • Downloads (Last 6 weeks)1
Reflects downloads up to 04 Feb 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media