https://github.com/p3rception/indicium
// battery status notifier for macOS
https://github.com/p3rception/indicium
Last synced: 6 months ago
JSON representation
// battery status notifier for macOS
- Host: GitHub
- URL: https://github.com/p3rception/indicium
- Owner: p3rception
- License: mit
- Created: 2023-05-09T21:35:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-20T23:28:36.000Z (over 2 years ago)
- Last Synced: 2025-07-16T01:33:11.121Z (11 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Features
* Monitors the battery level of your macOS device.
* Sends notifications when the battery level falls below a low threshold (default: 20%) or rises above a high threshold (default: 80%).
* Provides customization options for adjusting threshold levels.
## Usage
To use this script, follow these steps:
1. Open a terminal.
2. Navigate to the directory where the script is located.
3. Run the script with the following command: `python battery_monitor.py -l -ht `, replacing `` and `` with your desired low and high battery thresholds.
## (Optional)
To run this script on startup, you can create an `indicium.sh` file with the following content and add it to the Login Items:
```bash
#!/bin/bash
python3 /path/to/Indicium/indicium.py
```
## Author
Dimitris Pergelidis ([p3rception](https://github.com/p3rception))
## License
This project is licensed under the MIT License - see the LICENSE file for details.