Predicting Smartphone Battery Life based on Comprehensive and Real-time Usage Data

Smartphones and smartphone apps have undergone an explosive growth in the past decade. However, smartphone battery technology hasn't been able to keep pace with the rapid growth of the capacity and the functionality of smartphones and apps. As a result, battery has always been a bottleneck of a user's daily experience of smartphones. An accurate estimation of the remaining battery life could tremendously help the user to schedule their activities and use their smartphones more efficiently. Existing studies on battery life prediction have been primitive due to the lack of real-world smartphone usage data at scale. This paper presents a novel method that uses the state-of-the-art machine learning models for battery life prediction, based on comprehensive and real-time usage traces collected from smartphones. The proposed method is the first that identifies and addresses the severe data missing problem in this context, using a principled statistical metric called the concordance index. The method is evaluated using a dataset collected from 51 users for 21 months, which covers comprehensive and fine-grained smartphone usage traces including system status, sensor indicators, system events, and app status. We find that the remaining battery life of a smartphone can be accurately predicted based on how the user uses the device at the real-time, in the current session, and in history. The machine learning models successfully identify predictive features for battery life and their applicable scenarios.

[1]  Youngki Lee,et al.  PowerForecaster: Predicting Smartphone Power Impact of Continuous Sensing Applications at Pre-installation Time , 2015, SenSys.

[2]  Justin Manweiler,et al.  Avoiding the Rush Hours: WiFi Energy Management via Traffic Isolation , 2012, IEEE Trans. Mob. Comput..

[3]  Yun Ma,et al.  Roaming across the Castle Tunnels: an Empirical Study of Inter-App Navigation Behaviors of Android Users , 2017, ArXiv.

[4]  Hojung Cha,et al.  Accurate Prediction of Available Battery Time for Mobile Applications , 2016, ACM Trans. Embed. Comput. Syst..

[5]  D.,et al.  Regression Models and Life-Tables , 2022 .

[6]  Haichen Shen,et al.  Enhancing mobile apps to use sensor hubs without programmer effort , 2015, UbiComp.

[7]  J. Tobin Estimation of Relationships for Limited Dependent Variables , 1958 .

[8]  Gokhan Memik,et al.  Into the wild: Studying real user activity patterns to guide power optimizations for mobile architectures , 2009, 2009 42nd Annual IEEE/ACM International Symposium on Microarchitecture (MICRO).

[9]  Deborah Estrin,et al.  Diversity in smartphone usage , 2010, MobiSys '10.

[10]  Rob J Hyndman,et al.  Another look at measures of forecast accuracy , 2006 .

[11]  J. Armstrong,et al.  Evaluating Forecasting Methods , 2001 .

[12]  Lior Rokach,et al.  SherLock vs Moriarty: A Smartphone Dataset for Cybersecurity Research , 2016, AISec@CCS.

[13]  Tianqi Chen,et al.  XGBoost: A Scalable Tree Boosting System , 2016, KDD.

[14]  Ning Ding,et al.  Smartphone Background Activities in the Wild: Origin, Energy Drain, and Optimization , 2015, MobiCom.

[15]  Feng Qian,et al.  Revisiting Network Energy Efficiency of Mobile Apps: Performance in the Wild , 2015, Internet Measurement Conference.

[16]  Ranveer Chandra,et al.  Empowering developers to estimate app energy consumption , 2012, Mobicom '12.

[17]  Leo Breiman,et al.  Random Forests , 2001, Machine Learning.

[18]  Jamel Tayeb,et al.  Application Sequence Prediction for Energy Consumption Reduction in Mobile Systems , 2015, 2015 IEEE International Conference on Computer and Information Technology; Ubiquitous Computing and Communications; Dependable, Autonomic and Secure Computing; Pervasive Intelligence and Computing.

[19]  J. Friedman Greedy function approximation: A gradient boosting machine. , 2001 .

[20]  J. Friedman Stochastic gradient boosting , 2002 .

[21]  Ding Li,et al.  Making web applications more energy efficient for OLED smartphones , 2014, ICSE.

[22]  James Won-Ki Hong,et al.  Personalized Battery Lifetime Prediction for Mobile Devices based on Usage Patterns , 2011, J. Comput. Sci. Eng..

[23]  Lei Yang,et al.  Accurate online power estimation and automatic battery behavior based power model generation for smartphones , 2010, 2010 IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[24]  Arun Venkataramani,et al.  Energy consumption in mobile phones: a measurement study and implications for network applications , 2009, IMC '09.

[25]  Kaigui Bian,et al.  Characterizing Smartphone Usage Patterns from Millions of Android Users , 2015, Internet Measurement Conference.

[26]  Gaël Varoquaux,et al.  Scikit-learn: Machine Learning in Python , 2011, J. Mach. Learn. Res..

[27]  Hinrich Schütze,et al.  Introduction to information retrieval , 2008 .

[28]  Alex Pentland,et al.  Social fMRI: Investigating and shaping social mechanisms in the real world , 2011, Pervasive Mob. Comput..

[29]  Yunxin Liu,et al.  Optimizing Smartphone Power Consumption through Dynamic Resolution Scaling , 2015, MobiCom.

[30]  James Allan,et al.  A comparison of statistical significance tests for information retrieval evaluation , 2007, CIKM '07.

[31]  Xia Zhao,et al.  A system context-aware approach for battery lifetime prediction in smart phones , 2011, SAC '11.

[32]  Jukka K. Nurminen,et al.  The Effect of Unwanted Internet Traffic on Cellular Phone Energy Consumption , 2011, 2011 4th IFIP International Conference on New Technologies, Mobility and Security.

[33]  Paramvir Bahl,et al.  Fine-grained power modeling for smartphones using system call tracing , 2011, EuroSys '11.

[34]  F. Harrell,et al.  Evaluating the yield of medical tests. , 1982, JAMA.

[35]  Lin Zhong,et al.  Self-constructive high-rate system energy modeling for battery-powered mobile systems , 2011, MobiSys '11.

[36]  Lin Zhong,et al.  Rethink energy accounting with cooperative game theory , 2014, MobiCom.

[37]  Seungchul Lee,et al.  Sandra helps you learn: the more you walk, the more battery your phone drains , 2015, UbiComp.