dotfiles/.config/systemd/user/battery.service
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

9 lines
137 B
SYSTEMD

[Unit]
Description=Power Profiles service
[Service]
Type=simple
ExecStart=%h/.local/bin/battery.sh
[Install]
WantedBy=multi-user.target