From d9b2e6bb560d1aa6a2a1c93cc9e41472db406a31 Mon Sep 17 00:00:00 2001 From: Kenny Ballou Date: Thu, 2 Nov 2023 10:51:21 -0600 Subject: system/axo: set battery charge thresholds Do not always charge to 100% and do not start charging until the battery is a bit more depleted. Signed-off-by: Kenny Ballou --- systems/axo.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'systems') diff --git a/systems/axo.scm b/systems/axo.scm index 720a6463..cd02b725 100644 --- a/systems/axo.scm +++ b/systems/axo.scm @@ -182,7 +182,11 @@ (energy-perf-policy-on-ac "performance") (energy-perf-policy-on-bat "powersave") (pcie-aspm-on-ac "performance") - (pcie-aspm-on-bat "powersupersave"))) + (pcie-aspm-on-bat "powersupersave") + (start-charge-thresh-bat0 70) + (start-charge-thresh-bat1 70) + (stop-charge-thresh-bat0 95) + (stop-charge-thresh-bat1 95))) (nftables-service "axo") (simple-service 'my-cron-jobs mcron-service-type -- cgit v1.2.1