alert-battery-to-maintain-h.../README.md
2021-09-19 12:34:53 +02:00

34 lines
643 B
Markdown
Executable File

<p align="center">
<img src="media/demo.png" width="500">
</p>
Alerts you if your battery is overcharged 🌹 or discharged 🥀 to extend its performance and health.
**Only Linux**: Want more compatible systems? I look forward to your pull requests to add more notification systems. Check line 25 in `src/__main__.py`.
# Install
```bash
git clone git@github.com:tanrax/alert-battery-to-maintain-health.git
cd alert-battery-to-maintain-health
poetry install
```
# Run
```bash
poetry run python3 src
```
# Cron
```bash
crontab -e
```
Add the following:
```bash
* * * * * 'cd [absolute path folder] && poetry run python3 src'
```