Detecting anomalous energy consumption in android applications

Marco Couto, Tiago Carção, Jácome Cunha, João Paulo Fernandes, João Saraiva

Research output: Chapter in Book/Report/Conference proceedingConference contribution


The use of powerful mobile devices, like smartphones, tablets and laptops, is 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 that supports different devices. The model is 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.

Original languageEnglish (US)
Title of host publicationProgramming Languages - 18th Brazilian Symposium, SBLP 2014, Proceedings
PublisherSpringer Verlag
Number of pages15
ISBN (Print)9783319118628
StatePublished - 2014
Event18th Brazilian Symposium on Programming Languages, SBLP 2014 - Maceio, Brazil
Duration: Oct 2 2014Oct 3 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8771 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


Conference18th Brazilian Symposium on Programming Languages, SBLP 2014


  • Energy-aware Software
  • Green Computing
  • Source Code Analysis

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science


Dive into the research topics of 'Detecting anomalous energy consumption in android applications'. Together they form a unique fingerprint.

Cite this