Detecting and Diagnosing Energy Issues for Mobile Applications

01/04/2019
by   Xueliang Li, et al.
0

Energy efficiency is an important criterion to judge the quality of mobile apps, but one third of our randomly sampled apps are suffering from energy issues that can quickly drain battery. To understand these issues, we conducted an empirical study on 27 well-maintained apps (e.g., Chrome and Firefox), whose issue tracking systems are publicly accessible. Our study revealed that the main causes of energy issues are unnecessary workload, excessively frequent operations, etc. Surprisingly, these issues are beyond the application of the cutting-edge technology on energy issue detection. We also found 20.7 issues can only be manifested under special context such as bad performance of network, but its influence was totally neglected before. Motivated by these findings, we proposed a novel testing framework for detecting energy issues in real-world. We will see that assessing the necessity of workload is critical for identifying the issues of main causes. We hence employed machine learning algorithm to cluster the workloads and further evaluate their necessity. Besides, we also devised a set of artificial running contexts to productively uncover the neglected issues. More importantly, we developed a suit of practical technology to achieve high accuracy and efficacy of our testing framework. A large-scale evaluation shows that 91.6 test were heretofore unknown to developers. Averagely, these issues double the energy cost of apps. And our test achieves a low number of false positives. At last, we present how our test reports can help developers fix the issues.

READ FULL TEXT
research
01/22/2018

Large-Scale Analysis of Framework-Specific Exceptions in Android Apps

Mobile apps have become ubiquitous. For app developers, it is a key prio...
research
08/16/2023

Techniques for Improving the Energy Efficiency of Mobile Apps: A Taxonomy and Systematic Literature Review

Building energy efficient software is an increasingly important task for...
research
09/13/2020

ReviewViz: Assisting Developers Perform Empirical Study on Energy Consumption Related Reviews for Mobile Applications

Improving the energy efficiency of mobile applications is a topic that h...
research
02/07/2019

To the Attention of Mobile Software Developers: Guess What, Test your App!

Software testing is an important phase in the software development life-...
research
06/17/2022

Detecting Connectivity Issues in Android Apps

Android is the most popular mobile operating system in the world, runnin...
research
01/29/2019

Adversarial Adaptation of Scene Graph Models for Understanding Civic Issues

Citizen engagement and technology usage are two emerging trends driven b...
research
08/17/2023

Automated and Context-Aware Repair of Color-Related Accessibility Issues for Android Apps

Approximately 15 disabilities or impairments. However, many mobile UX de...

Please sign up or login with your details

Forgot password? Click here to reset