πŸ“ž +91-7667918914 | βœ‰οΈ ijarcce@gmail.com
International Journal of Advanced Research in Computer and Communication Engineering
International Journal of Advanced Research in Computer and Communication Engineering A monthly Peer-reviewed & Refereed journal
ISSN Online 2278-1021ISSN Print 2319-5940Since 2012
IJARCCE adheres to the suggestive parameters outlined by the University Grants Commission (UGC) for peer-reviewed journals, upholding high standards of research quality, ethical publishing, and academic excellence.
← Back to VOLUME 15, ISSUE 11, NOVEMBER 2026

Laptop Battery Report Using Random Forest Regression Algorithm, Machine Learning

Dr. Beenarani Manoj, Hariharan N, Jeron Sam Varghese, Akash Kumar

πŸ‘ 20 viewsπŸ“₯ 8 downloads
Share: 𝕏 f in ✈ βœ‰
Abstract: Everyone who uses a laptop heavily has been caught out by a battery that ran flat sooner than expected. The percentage on screen only tells you what is left right now. It says nothing about how quickly that number is falling or where it will be in the next half hour. We wanted to close that gap, so we built a Machine Learning-Based Laptop Battery Drain Forecasting and Early Warning System that looks at how a laptop is being used and predicts its battery level ahead of time.

The system works in a few steps. A Python script keeps logging battery percentage, CPU usage, RAM usage, charging status and elapsed time into a CSV file. We tidied that data with Pandas and used it to train a Random Forest Regressor, which we saved with Joblib so it could be reused without retraining. A Streamlit dashboard then loads the model and puts the current battery status beside the predicted percentage. If the prediction falls below a safe level, a warning appears, giving the user a chance to plug in or save their work before the laptop shuts down. Put together, the project shows how simple data logging and a basic machine learning model can turn an ordinary battery indicator into something that helps people plan their work.

Keywords: Laptop Battery Monitoring, Battery Drain Forecasting, Machine Learning, Random Forest Regressor, Predictive Analytics, Python, Streamlit, Early Warning System

How to Cite:

[1] Dr. Beenarani Manoj, Hariharan N, Jeron Sam Varghese, Akash Kumar, β€œLaptop Battery Report Using Random Forest Regression Algorithm, Machine Learning,” International Journal of Advanced Research in Computer and Communication Engineering (IJARCCE), DOI: 10.17148/IJARCCE.2026.151154

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.