Inspiration
We often work on problems related to computer vision and deep learning. It means that we need to train deep learning models on our own dataset. Training a model requires hours of time, sometimes even more than a day. So we need to constantly keep an eye on our laptop's battery percentage. If the battery is too low, it will switch off and we will lose hours of progress. So we decided to automate this process of switching ON or OFF the power plug depending on the percentage.
What it does
The system consists of both software and hardware part. The software part is the GUI which collects details of the laptop battery using the 'imutils' package. It then displays the battery percentage, time left on current battery percentage and whether the power is plugged in or not.
The hardware part is responsible for switching ON or OFF thee power plug.
Depending on the battery percentage, the swich can be turned ON or OFF.
If thebattery is less than 15, it is turned ON and if it is more than 99 % , it is OFF
How we built it
We designed the software using Python 3 and PYQT5. The GUI was deisgned using the QT Designer toolkit. The 'imutils' package of python is used for collecting the battery stats.
Challenges we ran into
Accomplishments that we're proud of
The system works perfectly and we are proud of it. We have thoroughly tested it.
What we learned
We learned to use the QT designer by working on this project.
What's next for Automated Laptop Charge Monitor
We plan to make several changes to the next prototype. We will replace the servo motor with a 5V relay module which would be much better option. Also, we will make a small box to fit in the Arduino board and the relay module with a power plug fixed on top of it.

Log in or sign up for Devpost to join the conversation.