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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
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)
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
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)
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)
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)
Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation, 3rd edn. Addison-Wesley, Boston (2006)
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)
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)
Nakajima, S.: Model-based power consumption analysis of smartphone applications. In: ACESMB@ MoDELS (2013)
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
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
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)