Detecting and diagnosing energy issues for mobile applications
Xueliang Li, Yuming Yang, Yepang Liu, John P. Gallagher, Kaishun Wu
Abstract
Energy efficiency is an important criterion to judge the quality of mobile apps, but one third of our randomly sampled apps suffer from energy issues that can quickly drain battery power. To understand these issues, we conducted an empirical study on 27 well-maintained apps such as Chrome and Firefox, whose issue tracking systems are publicly accessible. Our study revealed that the main root causes of energy issues include unnecessary workload and excessively frequent operations. Surprisingly, these issues are beyond the application of present technology on energy issue detection. We also found that 20.6% of energy issues can only manifest themselves under specific contexts such as poor network performance, but such contexts are again neglected by present technology. Therefore, we proposed a novel testing framework for detecting energy issues in real-world apps. Our framework examines apps with well-designed input sequences and runtime contexts. To identify the root causes mentioned above, we employed a machine learning algorithm to cluster the workloads and further evaluate their necessity. For the issues concealed by the specific contexts, we carefully set up several execution contexts to pinpoint them. More importantly, we developed leading edge technology, e.g. pre-designing input sequences with potential energy overuse and tuning tests on-the-fly, to achieve high efficacy in detecting energy issues. A large-scale evaluation shows that 91.6% issues detected in our test were previously unknown to developers. On average, these issues double the energy costs of the apps. Furthermore, our test achieves a low number of false positives. Finally, we show how our test reports can help developers fix the issues.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers1
Related papers
- Lightweight Detection of Abnormal Battery Drain Induced by Network Operations of Mobile AppsRun Wang, Marco Brocanelli, Xiaorui WangINFOCOM 2026
- Automated construction of energy test oracles for AndroidReyhaneh Jabbarvand, Forough Mehralian, Sam MalekFSE 2020 · 13 citations
- Phantom Rendering Detection: Identifying and Analyzing Unnecessary UI ComputationsZhihao Lin, Mingyi Zhou, Bo Sun, Han Hu et al.FSE 2026
- Demystifying Diehard Android AppsHao Zhou, Haoyu Wang, Yajin Zhou, Xiapu Luo et al.ASE 2020 · 17 citations
- Camel: Smart, Adaptive Energy Optimization for Mobile Web InteractionsJie Ren, Lu Yuan, Petteri Nurmi, Xiaoming Wang et al.INFOCOM 2020 · 18 citations
