Awesome-Python-Scripts/Battery_notification
Krishna Sharma 5b8a5b169a
Battery notification (#227)
* Create Battery_notification.py

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2021-10-05 22:31:53 +05:30
..
Battery_notification.py Battery notification (#227) 2021-10-05 22:31:53 +05:30
README.md Battery notification (#227) 2021-10-05 22:31:53 +05:30

Here is this python3 code to get a notification/battery alert when the battery is low (35%)and while charging it is 98% it will give notification till you didn't plug-in when it is low(35%) and out when it is 98% for a Windows laptop.Install some Python library by writing some pip code in terminal.

pip install psutil

pip install pyttsx3

pip install win10toast

than run the file. using python for windows and python3 for linux and follow up Battery_notification.py