dotfiles/root/etc/systemd/system/power-disconnected.target

7 lines
142 B
SYSTEMD

[Unit]
Description=Power adapter is disconnected (charger NOT plugged)
Conflicts=power-connected.target
[Install]
WantedBy=multi-user.target