Lightweight Detection of Abnormal Battery Drain Induced by Network Operations of Mobile Apps
Run Wang, Marco Brocanelli, Xiaorui Wang
Abstract
Abnormal Battery Drain (ABD) is a significant yet often elusive issue for mobile apps, frequently arising from subtle network-related inefficiencies, such as redundant data transmissions or retry loops. Existing research includes static and dynamic detection methodologies, but both struggle to detect such ABDs at runtime, especially when they are triggered by network operations without direct user interaction.We present NetDrain, a lightweight runtime anomaly detection framework designed to identify and diagnose network-induced ABDs in mobile apps. NetDrain leverages thread-level CPU and network performance event counters, extracts time- and frequency-domain features, and applies an unsupervised data-driven model to detect deviations in hardware resource usage patterns. To facilitate root cause analysis, our framework correlates anomalies with specific threads and functions via circular call-graph sampling. Our evaluation shows that NetDrain successfully detects network-induced ABDs for 22 real-world apps and locates their root causes in the app code, outperforming prior research such as eDelta and eDoctor.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get ea8bc309-74da-49ce-a52f-c90f671b12ffRelated papers
- Detecting and diagnosing energy issues for mobile applicationsXueliang Li, Yuming Yang, Yepang Liu, John P. Gallagher et al.ISSTA 2020 · 18 citations
- JADE: Data-Driven Automated Jammer Detection Framework for Operational Mobile NetworksCaner Kilinc, Mahesh K. Marina, Muhammad Usama, Salih Ergüt et al.INFOCOM 2022 · 9 citations
- Static asynchronous component misuse detection for Android applicationsLinjie Pan, Baoquan Cui, Hao Liu, Jiwei Yan et al.FSE 2020 · 10 citations
- Automatic Energy-Hotspot Detection and Elimination in Real-Time Deeply Embedded SystemsMohsen Shekarisaz, Lothar Thiele, Mehdi KargahiRTSS 2021 · 4 citations
- The Abuser Inside Apps: Finding the Culprit Committing Mobile Ad FraudJoongyum Kim, Junghwan Park, Sooel SonNDSS 2021
