Print Email Facebook Twitter Software-Based Energy Profiling of Android Apps Title Software-Based Energy Profiling of Android Apps: Simple, Efficient and Reliable? Author Di Nucci, D. (University of Salerno) Palomba, F. (TU Delft Software Engineering) Prota, Antonio (University of Salerno) Panichella, A. (University of Luxembourg) Zaidman, A.E. (TU Delft Software Engineering) De Lucia, Andrea (University of Salerno) Contributor Pinzger, Martin (editor) Bavota, Gabriele (editor) Marcus, Andrian (editor) Date 2017 Abstract Modeling the power profile of mobile applications is a crucial activity to identify the causes behind energy leaks. To this aim, researchers have proposed hardware-based tools as well as model-based and software-based techniques to approximate the actual energy profile. However, all these solutions present their own advantages and disadvantages. Hardware-based tools are highly precise, but at the same time their use is bound to the acquisition of costly hardware components. Model-based tools require the calibration of parameters needed to correctly create a model on a specific hardware device. Software-based approaches do not need any hardware components, but they rely on battery measurements and, thus, they are hardware-assisted. These tools are cheaper and easier to use than hardware-based tools, but they are believed to be less precise. In this paper, we take a deeper look at the pros and cons of software-based solutions investigating to what extent their measurements depart from hardware-based solutions. To this aim, we propose a softwarebased tool named PETRA that we compare with the hardwarebased MONSOON toolkit on 54 Android apps. The results show that PETRA performs similarly to MONSOON despite not using any sophisticated hardware components. In fact, in all the apps the mean relative error with respect to MONSOON is lower than 0:05. Moreover, for 95% of the analyzed methods the estimation error is within 5% of the actual values measured using the hardware-based toolkit. Subject Energy ConsumptionMobile AppsEstimation To reference this document use: http://resolver.tudelft.nl/uuid:58c38a11-205f-4efd-be99-fc390c63604d DOI https://doi.org/10.1109/SANER.2017.7884613 Publisher IEEE, Piscataway, NJ ISBN 978-1-5090-5501-2 Source Proceedings - 24th International Conference on Software Analysis, Evolution and Reengineering, SANER 2017 Event SANER 2017, 2017-02-21 → 2017-02-24, Klagenfurt, Austria Part of collection Institutional Repository Document type conference paper Rights © 2017 D. Di Nucci, F. Palomba, Antonio Prota, A. Panichella, A.E. Zaidman, Andrea De Lucia Files PDF dinucciSANER2017.pdf 1.03 MB Close viewer /islandora/object/uuid:58c38a11-205f-4efd-be99-fc390c63604d/datastream/OBJ/view