← Back to VOLUME 15, ISSUE 11, NOVEMBER 2026
This work is licensed under a Creative Commons Attribution 4.0 International License.
Laptop Battery Report Using Random Forest Regression Algorithm, Machine Learning
Dr. Beenarani Manoj, Hariharan N, Jeron Sam Varghese, Akash Kumar
π 20 viewsπ₯ 8 downloads
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
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
