Never overcharge or drain your battery again! Your laptop's personal battery guardian.
Battery Monitor is a lightweight desktop application built with Python and Tkinter that watches your battery percentage and alerts you when itβs:
- π Fully charged (time to unplug)
- π Too low (time to plug in)
This helps protect your battery health and saves you from accidental overcharging or deep discharging.
Laptop batteries lose capacity faster when:
- You let them drain below 20%
- You keep them at 100% while charging
- You miss the OS notifications (which are easy to ignore)
- Low battery alerts at 20%
- Full battery alerts at 98%
- π Persistent popup + π΅ sound alerts every few seconds
- π» Lightweight, background-friendly design
- πͺ Popup notifications using
tkinter - π΅ Sound alerts using:
winsoundon Windowsafplayon macOS
- β‘ Smart status tracking β alerts only when status changes
- π§΅ Multithreaded for a responsive UI
- β²οΈ Customizable thresholds and check intervals
- Python 3.x
psutillibrary (for battery status).wavsound files for alerts
Install psutil using:
pip install psutilπ Getting Started
- Clone the Repo
git clone https://github.com/your-username/battery-monitor.git
cd battery-monitorFor MacOS users:
python3 Batteries.pyFor Windows Users:
python3 BatteriesWin.pyBuilt with love to help laptop users: Improve battery life Avoid battery degradation Stay stress-free while working Because good batteries make happy laptops! π§ π
MIT License β Use freely, modify easily, and share widely.
Found a bug? Want a new feature? Feel free to open an issue or submit a pull request. Contributions are always welcome!