dotfiles/.config/systemd/user/battery.timer
surtur 2cf6883b3c
add battery-handling systemd service,timer
utilizes powerprofilesctl to change states automatically based on the
current battery level

ref:
https://www.reddit.com/r/gnome/comments/qn60lo/automatic_power_profile_selection
2021-11-10 15:32:27 +01:00

10 lines
138 B
SYSTEMD

[Unit]
Description=Power Profiles timer
[Timer]
OnActiveSec=20s
OnUnitActiveSec=5m
Unit=battery.service
[Install]
WantedBy=timers.target