skip to main content
10.1145/2070562.2070567acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article

Bootstrapping energy debugging on smartphones: a first look at energy bugs in mobile devices

Published: 14 November 2011 Publication History

Abstract

This paper argues that a new class of bugs faced by millions of smartphones, energy bugs or ebugs, have become increasingly prominent that already they have led to significant user frustrations. We take a first look at this emerging important technical challenge faced by the smartphones, ebugs, broadly defined as an error in the system (application, OS, hardware, firmware, external conditions or combination) that causes an unexpected amount of high energy consumption by the system as a whole. We first present a taxonomy of the kinds of ebugs based on mining over 39K posts (1.2M before filtering) from 4 online mobile user forum and mobile OS bug repositories. The taxonomy shows the highly diverse nature of smartphone ebugs. We then propose a roadmap towards developing a systematic diagnosing framework for debugging ebugs on smartphones.

References

[1]
"The bulk of returned motorola phones are the result of applications that cause performance/energy problems." URL: http://tinyurl.com/44hns9p
[2]
"Android phones more prone to hardware problems." URL: http://www.pcmag.com/article2/0,2817,2387493,00.asp
[3]
"Android - an open handset alliance project." URL: http://code.google.com/p/android/issues/list
[4]
"Maemo community." URL: http://maemo.org/intro/
[5]
"k-means clustering." URL: http://en.wikipedia.org/wiki/K-means_clustering
[6]
"The lemur project." URL: http://www.lemurproject.org/
[7]
"Incorrect battery reading on droid (2.0)." URL: _cgc_5259
[8]
"Apple portables: Calibrating your computer's battery for best performance." URL: http://support.apple.com/kb/HT1490
[9]
"Meamo.org: Make your battery last longer." URL: http://wiki.maemo.org/Make_your_battery_last_longer
[10]
"Sd card corruption." URL: _cgc_2500
[11]
"Cyanogenmod: Android community rom based on froyo." URL: http://www.cyanogenmod.com/
[12]
"Android os 2.3.3 battery drain." URL: _cgc_16721
[13]
"After upgrade galaxy s to gingerbread 2.3.3, suffering a huge battery drain." URL: _cgc_16562
[14]
"suspend" process runs continually in background at 40% cpu on htc evo 4g." URL: _cgc_11126
[15]
"Heavy battery drain after gingerbread upgrade on nexus one." URL: _cgc_15057
[16]
"Cpu is busy and battery drains." URL: _cgc_9733
[17]
"The process "/init" uses between 70% to 98% cpu - htc legend froyo." URL: _cgc_13130
[18]
"User posting: 2.2 update - htc confirms major problems." URL: http://androidforums.com/htc-droid-incredible/167864-2-2-update-htc-confirms-major-problems.html
[19]
S. Siddha, V. Pallipadi, and A. Ven, "Getting maximum mileage out of tickless," in Proc. Linux Symposium, 2007.
[20]
"Setcpu for root users." URL: http://www.setcpu.com/
[21]
"Facebook 1.3 not releasing partial wake lock." URL: http://geekfor.me/news/facebook-1-3-wakelock/
[22]
"Using a locationlistener is generally unsafe for leaving a permanent partial_wake_lock." URL: _cgc_4333
[23]
"Latitude prevents nexus s from sleeping." URL: _cgc_17356
[24]
"Email application partial wake lock." URL: _cgc_9307
[25]
"E-mail app has a bug which causes a partial wake lock to be held until manually interrupted." URL: _cgc_6811
[26]
"When locked, the camera button wakes up the system causing battery to drain fast on samsung galaxy." URL: _cgc_4293
[27]
"'power control' widget brightness toggle leaves g1 keyboard backlight on." URL: _cgc_4211
[28]
"After dismissing alarm clock, screen does not timeout." URL: _cgc_6917
[29]
"Do you suffer from gallery sensor battery drainage?" URL: http://forum.xda-developers.com/showthread.php?t=838949
[30]
"Huge battery drain because bt-headset sound is not stopped." URL: https://bugs.maemo.org/show_bug.cgi?id=9640
[31]
"Locationmanagerservice: Fix race when removing locationlistener." URL: https://review.source.android.com/#/c/12110/
[32]
"Email 2.3 app keeps awake when no data connection is available." URL: http://www.google.com/support/forum/p/Google+Mobile/thread?tid=53bfe3432135Se8bfe134321358e8
[33]
L. Zhang, B. Tiwana, Z. Qian, Z. Wang, R. Dick, Z. Mao, and L. Yang, "Accurate Online Power Estimation and Automatic Battery Behavior Based Power Model Generation for Smartphones," in Proc. of CODES+ISSS, 2010.
[34]
A. Pathak, Y. C. Hu, M. Zhang, P. Bahl, and Y.-M. Wang, "Fine-grained power modeling for smartphones using system-call tracing," in Proc. of EuroSys, 2011.
[35]
"Fix bugs in audiostreaminalsa::close() and audiostreamoutalsa::close()." URL: https://review.source.android.com/#/c/13467/
[36]
"Google calendar sync problem, continuously tries to sync, drains battery quickly." URL: _cgc_6107
[37]
"Repeated email sync failure eats cpu and battery." URL: _cgc_5424
[38]
"Android service." URL: http://developer.android.com/reference/android/app/Service.html
[39]
""mediaserver" consuming 100% cpu time after failing to play streaming videos." URL: _cgc_6765
[40]
"Maps continually running causing battery drain." URL: _cgc_10790
[41]
"Spare parts." URL: https://market.android.com/details?id=com.androidapps.spare-parts
[42]
"Android os battery use excessive - short battery life." URL: _cgc_14684
[43]
Y. Wang, C. Verbowski, J. Dunagan, Y. Chen, H. Wang, C. Yuan, and Z. Zhang, "Strider: A black-box, state-based approach to change and configuration management and support," in LISA. 2003.
[44]
M. Dong and L. Zhong. "Self-constructive high-rate system energy modeling for battery-powered mobile systems," in Mobisys, 2011.
[45]
S. L. Graham, P. B. Kessler, and M. K. McKusick, "gprof: A call graph execution profiler," in Proc. of ACM PLDI, 1982.
[46]
"Oprofile." URL: http://oprofile.sourceforge.net/news/
[47]
S. Lu, S. Park, E. Seo, and Y. Zhou, "Learning from mistakes---a comprehensive study on real world concurrency bug characteristics," in ASPLOS, 2008.
[48]
A. Bessey, K. Block, B. Chelf, A. Chou, B. Fulton, S. Hallem, C. Henri-Gros, A. Kamsky, S. McPeak, and D. Engler, "A few billion lines of code later: using static analysis to find bugs in the real world," Common. ACM, 2010.
[49]
S. Lu, S. Park, C. Hu, X. Ma, W. Jiang, Z. Li, R. Popa, and Y. Zhou, "Muvi: automatically inferring multi-variable access correlations and detecting related semantic and concurrency bugs," in SOSP, 2007.
[50]
J. Yang, P. Twohey, D. Engler, and M. Musuvathi, "Using model checking to find serious file system errors," ACM Trans. Comput, Syst., 2006.
[51]
M. Yabandeh, N. Knezevic, D. Kostic, and V. Kuncak, "Crystalball: Predicting and preventing inconsistencies in deployed distributed systems," in Proceedings of NSDI, 2009.
[52]
O. Crameri, R. Bianchini, and W. Zwaenepoel, "Striking a new balance between program instrumentation and debugging time," in Proceedings of Eurosys, 2011.
[53]
J. Tucek, S. Lu. C. Huang, S. Xanthos, and Y. Zhou, "Triage: diagnosing production run failures at the user's site," in SOSP, 2007.
[54]
D. Yuan, H. Mai, W. Xiong, L. Tan, Y. Zhou, and S. Pasupathy, "Sherlog: error diagnosis by connecting clues from run-time logs," ASPLOS, 2010.
[55]
P. Bodik, M. Goldszmidt, A. Fox, D. Woodard, and H. Andersen. "Fingerprinting the datacenter: Automated classification of performance crises," in Eurosys, 2010.
[56]
P. Barham, A. Donnelly, R. Isaacs, and R. Mortier. "Using magpie for request extraction and workload modelling," in OSDI, 2004.
[57]
M. Aguilera, J. Mogul, J. Wiener, P. Reynolds, and A. Muthitacharoen, "Performance debugging for distributed systems of black boxes," in SOSP, 2003.
[58]
S. Agarwal, R. Mahajan, A. Zheng, and V. Bahl, "There's an app for that, but it doesn.t work. diagnosing mobile applications in the wild," in Hotnets, 2010. *macro _cgc_= "http://code.google.com/p/android/issues/detail?id="

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
HotNets-X: Proceedings of the 10th ACM Workshop on Hot Topics in Networks
November 2011
148 pages
ISBN:9781450310598
DOI:10.1145/2070562
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 14 November 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. ebug
  2. energy
  3. energy bug

Qualifiers

  • Research-article

Conference

HOTNETS-X
Sponsor:
HOTNETS-X: Tenth ACM Workshop on Hot Topics in Networks
November 14 - 15, 2011
Massachusetts, Cambridge

Acceptance Rates

Overall Acceptance Rate 110 of 460 submissions, 24%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)24
  • Downloads (Last 6 weeks)5
Reflects downloads up to 06 Nov 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media