学位论文详细信息
Diagnosing and debugging abnormal battery drain on smartphones
Smartphone;Mobile Computing;Energy Management;Program Analysis;Operating Systems
Ma, Xiao
关键词: Smartphone;    Mobile Computing;    Energy Management;    Program Analysis;    Operating Systems;   
Others  :  https://www.ideals.illinois.edu/bitstream/handle/2142/42138/Xiao_Ma.pdf?sequence=1&isAllowed=y
美国|英语
来源: The Illinois Digital Environment for Access to Learning and Scholarship
PDF
【 摘 要 】

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.

【 预 览 】
附件列表
Files Size Format View
Diagnosing and debugging abnormal battery drain on smartphones 1156KB PDF download
  文献评价指标  
  下载次数:28次 浏览次数:20次