Energy efficiency is a vital characteristic of any mobile application, and indeed is becoming an important factor for user satisfaction. For this reason, in recent years several approaches and tools for measuring the energy consumption of mobile devices have been proposed. Hardware-based solutions are highly precise, but at the same time they require costly hardware toolkits. Model-based techniques require a possibly difficult calibration of the parameters needed to correctly create a model on a specific hardware device. Finally, software-based solutions are easier to use, but they are possibly less precise than hardware-based solution. In this demo, we present PETrA, a novel software-based tool for measuring the energy consumption of Android apps. With respect to other tools, PETrA is compatible with all the smartphones with Android 5.0 or higher, not requiring any device specific energy profile. We also provide evidence that our tool is able to perform similarly to hardware-based solutions.
Original languageEnglish
Title of host publicationProceedings - IEEE/ACM 39th International Conference on Software Engineering Companion, ICSE-C 2017
Place of PublicationLos Alamitos, CA
Number of pages4
ISBN (Electronic)978-1-5386-1589-8
Publication statusPublished - 2017
EventICSE 2017: 39th International Conference on Software Engineering - Buenos Aires, Argentina
Duration: 20 May 201728 May 2017
Conference number: 39


ConferenceICSE 2017
CityBuenos Aires
Internet address

    Research areas

  • Energy Consumption, Mobile Apps, Estimation

ID: 32869296