EMaaS: Energy Measurements as a Service for Mobile Applications

Measuring energy consumption is a challenging task faced by developers when building mobile apps. This paper presents EMaaS: a system that provides reliable energy measurements for mobile applications, without requiring a complex setup. It combines estimations from an energy model with - typically more reliable, but also expensive - hardware-based measurements. On a per scenario basis, it decides whether the energy model is able to provide a reliable estimation of energy consumption. Otherwise, hardware-based measurements are provided. In addition, the system is accessible to the community of mobile software practitioners/researchers in the form of a Software as a Service. With this service, we aim at solving current problems in the field of energy efficiency in mobile software engineering: the complexity of hardware-based power monitor tools, the reliability of energy models, and the continuous need of data to build energy models.

[1]  Ding Li,et al.  Optimizing energy of HTTP requests in Android applications , 2015, DeMobile@SIGSOFT FSE.

[2]  Luis Cruz,et al.  To the attention of mobile software developers: guess what, test your app! , 2019, Empirical Software Engineering.

[3]  Lei Yang,et al.  Accurate online power estimation and automatic battery behavior based power model generation for smartphones , 2010, 2010 IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[4]  Abram Hindle,et al.  An exploratory study on assessing the energy impact of logging on Android applications , 2018, Empirical Software Engineering.

[5]  Andrea De Lucia,et al.  PETrA: A Software-Based Tool for Estimating the Energy Profile of Android Applications , 2017, 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C).

[6]  Lori L. Pollock,et al.  How do code refactorings affect energy usage? , 2014, ESEM '14.

[7]  Ramesh Govindan,et al.  Estimating mobile application energy consumption using program analysis , 2013, 2013 35th International Conference on Software Engineering (ICSE).

[8]  Luis Cruz,et al.  Performance-Based Guidelines for Energy Efficient Mobile Applications , 2017, 2017 IEEE/ACM 4th International Conference on Mobile Software Engineering and Systems (MOBILESoft).

[9]  Andrea De Lucia,et al.  Software-based energy profiling of Android apps: Simple, efficient and reliable? , 2017, 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER).

[10]  Ding Li,et al.  An Empirical Study of the Energy Consumption of Android Applications , 2014, 2014 IEEE International Conference on Software Maintenance and Evolution.

[11]  Henry Muccini,et al.  Software testing of mobile applications: Challenges and future research directions , 2012, 2012 7th International Workshop on Automation of Software Test (AST).

[12]  Luis Cruz,et al.  Poster: Measuring the Energy Footprint of Mobile Testing Frameworks , 2018, 2018 IEEE/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion).

[13]  Abram Hindle,et al.  GreenScaler: training software energy models with automatic test generation , 2018, Empirical Software Engineering.

[14]  Mario Linares Vásquez,et al.  Automated GUI Testing of Android Apps: From Research to Practice , 2016, 2017 IEEE/ACM 39th International Conference on Software Engineering Companion (ICSE-C).