mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
automatically change the power profile depending on the connection and
bat percentage
This commit is contained in:
parent
170e4a6f6a
commit
5f71cccef3
2 changed files with 100 additions and 0 deletions
13
config/systemd/user/power-monitor.service
Normal file
13
config/systemd/user/power-monitor.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue