From dc656284d324debe6428ca6dc252df254951c41d Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 29 Aug 2024 00:07:29 -0700 Subject: [PATCH] hardware(callisto): charge limit to 90% --- hosts/callisto/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/callisto/configuration.nix b/hosts/callisto/configuration.nix index fc42a17..802198f 100755 --- a/hosts/callisto/configuration.nix +++ b/hosts/callisto/configuration.nix @@ -106,7 +106,7 @@ services.udev.extraRules = '' KERNEL=="cpu_dma_latency", GROUP="realtime" - KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="80", ATTR{charge_control_start_threshold}="70" + KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="80" ''; # Allow unfree packages