alert-battery-to-maintain-h.../README.md

44 lines
640 B
Markdown
Raw Normal View History

2021-08-29 12:31:54 +02:00
<p align="center">
2021-09-02 08:49:15 +02:00
<img src="icons/battery-status.png" width="200">
2021-08-29 12:31:54 +02:00
</p>
2021-08-29 12:30:00 +02:00
Alerts you if your battery is overcharged or discharged to extend its performance and health.
Cross-platform compatibility:
- Windows.
- MacOS.
- Linux.
- FreeBSD.
2021-08-29 12:40:39 +02:00
# Preview
<p align="center">
<img src="media/demo.png" width="500">
</p>
2021-08-29 12:26:41 +02:00
# Install
```bash
2021-08-29 12:30:00 +02:00
git clone git@github.com:tanrax/alert-battery-to-maintain-health.git
cd alert-battery-to-maintain-health
2021-08-29 12:26:41 +02:00
poetry install
```
# Run
```bash
2021-08-31 08:36:14 +02:00
poetry run python3 src
2021-08-29 12:26:41 +02:00
```
# Cron
```bash
2021-08-29 12:40:39 +02:00
crontab -e
```
Add the following:
```bash
2021-08-31 08:36:14 +02:00
* * * * * 'cd [absolute path folder] && poetry run python3 src'
2021-08-29 12:30:00 +02:00
```