Green Software Lab

New Paper Accepted @ Informatics 2015

GreenDroid: A Tool for Analysing Energy Consumption in the Android Ecosystem – Marco Couto, Jácome Cunha, João Paulo Fernandes, Rui Pereira, João Saraiva

This paper presents GreenDroid, a tool for monitoring and analyzing power consumption for the Android ecosystem. This tool instruments the source code of a giving Android application and is able to estimate the power consumed when running it. Moreover, it uses advanced classification algorithms to detect abnormal power consumption and to relate them to fragments in the source code. A set of graphical results are produced that help software developers to identify abnormal power consumption in their source code.

In International Scientific Conference on Informatics [PDF] [Bib]

New Paper Accepted @ SBLP 14

Detecting Anomalous Energy Consumption in Android Applications – Marco Couto, Tiago Carção, Jácome Cunha, João Paulo Fernandes, João Saraiva

The use of powerful mobile devices, like smartphones, tablets and laptops, are changing the way programmers develop software. While in the past the primary goal to optimize software was the run time optimization, nowadays there is a growing awareness of the need to reduce energy consumption. This paper presents a technique and a tool to detect anomalous energy consumption in Android applications, and to relate it directly with the source code of the application. We propose a dynamically calibrated model for energy consumption for the Android ecosystem, and that supports different devices. The model is then used as an API to monitor the application execution: first, we instrument the application source code so that we can relate energy consumption to the application source code; second, we use a statistical approach, based on fault-localization techniques, to localize abnormal energy consumption in the source code.

Programming Languages, Lecture Notes in Computer Science, 2014 [PDF] [Presentation] [Bib]