diff options
author | Kenny Ballou <kb@devnulllabs.io> | 2023-11-02 10:51:21 -0600 |
---|---|---|
committer | Kenny Ballou <kb@devnulllabs.io> | 2023-11-02 11:54:11 -0600 |
commit | d9b2e6bb560d1aa6a2a1c93cc9e41472db406a31 (patch) | |
tree | 46d599f1b0815afe9d3cdcb8d1f5c320de591204 /systems | |
parent | 4846109fe6699a893012a876786f701a1fb7fa12 (diff) | |
download | dotfiles-d9b2e6bb560d1aa6a2a1c93cc9e41472db406a31.tar.gz dotfiles-d9b2e6bb560d1aa6a2a1c93cc9e41472db406a31.tar.xz |
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 <kb@devnulllabs.io>
Diffstat (limited to 'systems')
-rw-r--r-- | systems/axo.scm | 6 |
1 files changed, 5 insertions, 1 deletions
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 |