From a62664de3ef1f2a0dd8055eb0e4661408b44f94e Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 12 Jul 2024 12:51:55 +0300 Subject: [PATCH] aminda-nocron-rebootish.service: add tlp setcharge As apparently fullcharge isn't reverted by reboot itself --- etc/systemd/system/aminda-nocron-rebootish.service | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/systemd/system/aminda-nocron-rebootish.service b/etc/systemd/system/aminda-nocron-rebootish.service index 62162d8b..3bc33e31 100644 --- a/etc/systemd/system/aminda-nocron-rebootish.service +++ b/etc/systemd/system/aminda-nocron-rebootish.service @@ -11,6 +11,7 @@ ExecStart=-/usr/bin/systemctl restart yggdrasil.service # If they somehow managed to not start already ExecStart=-/usr/bin/systemctl enable --now unbound.service ExecStart=-/usr/bin/systemctl enable --now systemd-resolved.service +ExecStart=-/usr/sbin/tlp setcharge User=root StandardOutput=journal StandardError=journal