Skip to main content

Generation of Power State Machine for Android Devices

  • Conference paper
  • First Online:
Context-Aware Systems and Applications, and Nature of Computation and Communication (ICTCC 2017, ICCASA 2017)

Abstract

Power consumption is a major problem on mobile devices. When an application runs, it causes the mobile device to reach a specified state of power consumption. We can determine energy consumption states of mobile devices by analyzing source code of the application. In this paper, we introduce a new approach to modeling energy consumption states due to the impact of Android applications using state machines. The approach takes into account the power states at specific time of the running application. The paper also proposes to construct a finite automata of power states extracted from the source code of the application. We have implemented a plug-in (called PSA) which can be integrated in Android Studio and InteliJ to visualize the finite automata of power states.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Carroll, A., Heiser, G., et al.: An analysis of power consumption in a smartphone. In: USENIX Annual Technical Conference, Boston, MA, vol. 14, p. 21 (2010)

    Google Scholar 

  2. Couto, M., Carção, T., Cunha, J., Fernandes, J.P., Saraiva, J.: Detecting anomalous energy consumption in android applications. In: Quintão Pereira, F.M. (ed.) SBLP 2014. LNCS, vol. 8771, pp. 77–91. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11863-5_6

    Google Scholar 

  3. Datta, S.K., Bonnet, C., Nikaein, N.: Android power management: current and future trends. In: 2012 First IEEE Workshop on Enabling Technologies for Smartphone and Internet of Things (ETSIoT), pp. 48–53. IEEE (2012)

    Google Scholar 

  4. Grzes, T.N., Solov’ev, V.V.: Minimization of power consumption of finite state machines by splitting their internal states. J. Comput. Syst. Sci. Int. 54(3), 367–374 (2015)

    Article  MATH  Google Scholar 

  5. Hao, S., Li, D., Halfond, W.G.J., Govindan, R.: Estimating mobile application energy consumption using program analysis. In: 2013 35th International Conference on Software Engineering (ICSE) (2013)

    Google Scholar 

  6. Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation, 3rd edn. Addison-Wesley, Boston (2006)

    MATH  Google Scholar 

  7. Li, D., Hao, S., Halfond, W.G.J., Govindan, R.: Calculating source line level energy information for Android applications. In: Proceedings of the 2013 International Symposium on Software Testing and Analysis - ISSTA 2013, p. 78 (2013)

    Google Scholar 

  8. Mendonça, J., Lima, R., Andrade, E., Callou, G.: Assessing performance and energy consumption in mobile applications. In: 2015 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 74–79. IEEE (2015)

    Google Scholar 

  9. Nakajima, S.: Model-based power consumption analysis of smartphone applications. In: ACESMB@ MoDELS (2013)

    Google Scholar 

  10. Zhang, L., Dick, R.P., Morley Mao, Z., Wang, Z.: Accurate online power estimation and automatic battery behavior based power model generation for smartphones, Ann Arbor

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anh-Tu Bui .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bui, AT., Le, HA., Truong, NT. (2018). Generation of Power State Machine for Android Devices. In: Cong Vinh, P., Ha Huy Cuong, N., Vassev, E. (eds) Context-Aware Systems and Applications, and Nature of Computation and Communication. ICTCC ICCASA 2017 2017. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 217. Springer, Cham. https://doi.org/10.1007/978-3-319-77818-1_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-77818-1_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-77817-4

  • Online ISBN: 978-3-319-77818-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics