1
SUBSYSTEM=="power_supply", ACTION=="add|remove", TAG+="systemd", PROGRAM="/bin/systemd-escape -p --template=cbatticon@.service $env{POWER_SUPPLY_NAME}", ENV{SYSTEMD_USER_WANTS}+="%c"