From 05fc8859fa2a2656a693f284ff211c956c21036f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Grondek?= Date: Tue, 6 Feb 2024 18:28:29 +0100 Subject: [PATCH] Increase battery charge from 60% to 80% --- .../files/lib/systemd/system/battery-charge-threshold.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/laptop/files/lib/systemd/system/battery-charge-threshold.service b/roles/laptop/files/lib/systemd/system/battery-charge-threshold.service index ebfd1f4..e7bbbea 100644 --- a/roles/laptop/files/lib/systemd/system/battery-charge-threshold.service +++ b/roles/laptop/files/lib/systemd/system/battery-charge-threshold.service @@ -6,7 +6,7 @@ StartLimitBurst=0 [Service] Type=oneshot Restart=on-failure -ExecStart=/bin/bash -c 'echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold' +ExecStart=/bin/bash -c 'echo 80 > /sys/class/power_supply/BAT0/charge_control_end_threshold' [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target