diff --git a/ipman.service b/ipman.service new file mode 100644 index 0000000..656869e --- /dev/null +++ b/ipman.service @@ -0,0 +1,13 @@ +[Unit] +Description=Enable Lenovo Ideapad battery protection + +[Service] +Type=oneshot +ExecStart=/usr/bin/ipman -e +ExecStop=/usr/bin/ipman -d +RemainAfterExit=yes +Restart=on-failure +RestartSec=10 + +[Install] +WantedBy=multi-user.target