automatically change the power profile depending on the connection and

bat percentage
This commit is contained in:
Oleksandr Smirnov 2025-06-13 16:16:11 +03:00
parent 170e4a6f6a
commit 5f71cccef3
No known key found for this signature in database
2 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,13 @@
[Unit]
Description = Power Monitor
After = power-profiles-daemon.service
Wants = power-profiles-daemon.service
[Service]
Type = simple
ExecStart = /home/olex/bin/power-monitor.sh
Restart = on-failure
RestartSec = 5s
[Install]
WantedBy=default.target