It is often said that laptop's battery works best when it is 40-80 percent charged.
- Install python 3.5.2 from [here] (https://www.python.org/downloads/release/python-352/)
- Install notify2 from your terminal by typing
sudo pip3 install notify2
. - Clone the repository using
git clone -b master https://github.com/ayush-vibrant/Dr.Battery.git
. - Run
notifier.py
to start the project.
- All the scipts that I have created were tested successfully on Linux based OSes with Python 3.5.2 installed on the system.
- Aforementioned project creates a toast notification according to the battery percentage of the system.
- Aim of the project is to make sure laptop always works between the 40-80% charged battery as acording to few [reports] (https://batteryuniversity.com/index.php/learn/article/how_to_prolong_lithium_based_batteries) it prolongs the life of the battery.