Battery Notifier is a Python-based application that provides notifications for battery status, allowing users to set high and low battery level thresholds and get notified when these levels are reached. The application uses Tkinter for the GUI and psutil for accessing battery information.
- Real-time Battery Monitoring: Continuously monitors battery status and percentage.
- Customizable Alerts: Set custom high and low battery level thresholds.
- Notifications: Provides notifications for charging, discharging, and when battery levels cross the set thresholds.
- Service Management: Start and stop the background service for battery monitoring.
-
Clone the repository:
git clone https://github.com/imegeek/battery-notifier cd battery-notifier -
Install the required dependencies:
pip install -r requirements.txt
-
Run the main application:
python main.py
-
The application window will open, displaying the current battery status and options to set high and low battery level thresholds.
-
Adjust the battery level thresholds using the sliders.
-
Start or stop the battery monitoring service using the provided button.
main.py: Main script for the application.battery_process.pyw: Script that runs as a background service for monitoring battery levels.settings.json: Configuration file for storing user settings.src/: Directory containing icons and images used in the application.
Contributions are welcome! Please fork the repository and submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
