Advertisement

Mobile Networks and Applications

, Volume 24, Issue 1, pp 124–133 | Cite as

An Approach to Modeling and Estimating Power Consumption of Mobile Applications

  • Hong Anh LeEmail author
  • Anh Tu Bui
  • Ninh-Thuan Truong
Article
  • 40 Downloads

Abstract

Recently, the number of mobile users grow enormously. Even though hardware technologies have been taken to many advantages, which aim at increasing the battery capacity, people are still facing with the problem of battery shortage. An application that runs functionally correct and has a friendly graphic user interfaces still causes users frustrated if it drains the battery. In parallel with increasing the energy storage capability of mobile device, optimizing the source code to reduce power consumption is an emerging topic. This paper presents a new approach to modeling and evaluating power consumption of mobile applications. First, we introduce new definitions of power states and a power consumption automaton (PCA) for a hardware component. In the next step, we propose algorithms to optimize and merge these into an unified automaton. In order to estimate the power consumption amount, the power automaton is refined with time aspect and power coefficients. Finally, we develop a support tool, which is a plug-in for Android studio and IntelliJ for visualizing the power machines and estimating the accumulated power consumption of an application use-case.

Keywords

Formal analysis Power state Power automaton Power consumption 

Notes

Acknowledgments

This work is partly supported by the project no. 102.03–2014.40 granted by Vietnam National Foundation for Science and Technology Development (Nafosted).

References

  1. 1.
  2. 2.
  3. 3.
  4. 4.
    Ali-Gombe A, Irfan A, Golden RG III, Vassil R (2016) AspectDroid: android App analysis system. In: Proceedings of the sixth ACM on conference on data and application security and privacy, pp 145–147Google Scholar
  5. 5.
    Carroll A, Heiser G et al (2010) An analysis of power consumption in a smartphone. In: USENIX annual technical conference, vol 14, Boston, MA, pp 21–21Google Scholar
  6. 6.
    Couto M, Carcao T, Cunha J, Fernandes JP, Saraiva J (2014) Detecting anomalous energy consumption in android applications lecture notes in computer science (including subseries lecture notes in artificial intelligence and lecture notes in Bioinformatics), 8771 LNCSGoogle Scholar
  7. 7.
    Datta SK, Bonnet C, Nikaein N (2012) Android power management: current and future trends. In: 2012 First IEEE workshop on enabling technologies for smartphone and internet of things (ETSIoT). IEEE, pp 48–53Google Scholar
  8. 8.
    Grzes TN, Solov’ev VV (2015) Minimization of power consumption of finite state machines by splitting their internal states. J Comput Syst Sci Int 54(3):367–374CrossRefzbMATHGoogle Scholar
  9. 9.
    Hopcroft JE, Motwani R, Ullman JD (2006) Introduction to automata theory, languages, and computation, 3rd. Addison-Wesley, BostonzbMATHGoogle Scholar
  10. 10.
    Kim KH, Min AW, Gupta D, Mohapatra P, Pal Singh J (2011) Improving energy efficiency of wi-fi sensing on smartphones. In: 2011 Proceedings IEEE INFOCOM, pp 2930–2938Google Scholar
  11. 11.
    Li D, Hao S, Halfond WGJ, Govindan R (2013) Calculating source line level energy information for Android applications. In: Proceedings of the 2013 international symposium on software testing and analysis - ISSTA 2013, p 78Google Scholar
  12. 12.
    Mendonça J, Lima R, Andrade E, Callou G (2015) Assessing performance and energy consumption in mobile applications. In: 2015 IEEE international conference on systems, man, and cybernetics (SMC). IEEE, pp 74–79Google Scholar
  13. 13.
    Murmuria R, Medsger J, Stavrou A, Voas JM (2012) Mobile application and device power usage measurements. In: Proceedings of the 2012 IEEE 6th international conference on software security and reliability SERE 2012, pp 147–156Google Scholar
  14. 14.
    Nakajima S (2013) Model-based Power Consumption Analysis of Smartphone Applications ACESMB@ MoDELSGoogle Scholar
  15. 15.
    Pathak A, Hu CY, Zhang M (2012) Where is the energy spent inside my app?: fine grained energy accounting on smartphones with eprof. In: Proceedings of the 7th ACM European conference on computer systems, EuroSys ’12, New York, NY, USA. ACMGoogle Scholar
  16. 16.
    Zhang L, Dick RP, Mao MZ, Wang Z, Arbor A (2010) Accurate online power estimation and automatic battery behavior based power model generation for smartphones. In: 2010 IEEE/ACM/IFIP international conference on hardware/software codesign and system synthesis (CODES+ISSS), Scottsdale, AZ, pp 105–114Google Scholar
  17. 17.
    Zhuang Z, Kim K-H, Singh JP (2010) Improving energy efficiency of location sensing on smartphones. In: Proceedings of the 8th international conference on mobile systems, applications, and services, MobiSys ’10, New York, NY, USA. ACM, pp 315–330Google Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Hanoi University of Mining and GeologyHanoiVietnam
  2. 2.VNU, University of Engineering and TechnologyHanoiVietnam

Personalised recommendations