Back to results

University of Illinois at Urbana-Champaign

Diagnosing and debugging abnormal battery drain on smartphones

Abstract

dc:description

The past few years have witnessed an evolutionary change in the smartphone ecosystem. Smartphones have gone from closed platforms containing only pre-installed applications to open platforms hosting a variety of third-party applications. Unfortunately, this change has also led to a rapid increase in Abnormal Battery Drain (ABD) problems that can be caused by software defects, mis- configuration, or environmental changes. Such issues can drain a fully-charged battery within a couple of hours, and can potentially affect a significant number of users. The goal of this thesis is to understand ABD issues, assist smartphone users to diagnose ABD issues and help developers prevent software bugs that may lead to ABD issues. We make three major contributions in different phases of smartphone application development and usage. At the beginning, we study user-reported battery drain issues from major smartphone forums. From this study, we find abnormal battery drain issues dominate user-reported issues, which are presumably more troublesome to users and more difficult for users themselves to diagnose and fix. The dominance of software energy problems highlights the need for helping app developers to avoid these mistakes. We thus conducted a more thorough analysis on common mistakes programmers make that can introduce software energy problems (e.g., bugs, defects, and inefficient designs). Specifically, we manually examined 117 energy-related software problems in open-source smartphone applications and the Android system. We present common patterns of such mistakes and inefficiencies in the real world, and provide practical implications for developers and researchers. In particular, we discuss the opportunity of using model checking approaches and profiling energy-intensive APIs to detect energy bugs, and present preliminary results. Motivated by the result, we propose eDoctor, a practical tool that helps regular users troubleshoot abnormal battery drain issues on smartphones. eDoctor leverages the concept of execution phases to capture an app’s time-varying behavior, which can then be used to identify an abnormal app. Based on the result of a diagnosis, eDoctor suggests the most appropriate repair solution to users. To evaluate eDoctor’s effectiveness, we conducted both in-lab experiments and a controlled user study with 31 participants and 17 real-world ABD issues together with 4 injected issues in 19 apps. The experimental results show that eDoctor can successfully diagnose 47 out of the 50 use cases while imposing little power overhead. Although eDoctor is designed to directly help smartphone users, the information collected by eDoctor can also be leveraged by developers to diagnose ABD issues.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Level thesis:degree_level
Dissertation
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Illinois at Urbana-Champaign
Year dc:date
2013

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ma, Xiao
Contributors dc:contributor
  • Zhou, Yuanyuan
  • Zhai, ChengXiang
  • King, Samuel T.
  • Voelker, Geoffrey M.

Subjects

dc:subject × 5

Rights

dc:rights
Statement dc:rights
  • Copyright 2012 Xiao Ma
Language dc:language
en

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2142/42138
OAI identifier oai:identifier
oai:www.ideals.illinois.edu:2142/42138

Chain of custody

source
Harvested from
University of Illinois - Urbana-Champaign
Base URL
www.ideals.illinois.edu/oai-pmh
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Ma, Xiao. Diagnosing and debugging abnormal battery drain on smartphones. Dissertation thesis, University of Illinois at Urbana-Champaign, 2013. http://hdl.handle.net/2142/42138