In this appliation, the battery state is retrived using BroadcastReceiver, BatteryManager is used to get the Battery level and a notification is dispayed if the battery is empty or full.
in this repo i put project code for enabling/showing battery percentage on status bar(top bar) in your android device. this is must app if your device is running on close to stock or pure stock rom of an android . so this app have just simple app which always shows battery percentage on statusbar of your app . so no need to always drag notification to see remain battery percentage.
This code is used to demonstrate the graphical repesentation of the battery life and status on the python gui using psutil library in python and alarming if the charge is greater than needed threshold