From a958fc976e8f55a335a096ea93bca5a8babf3030 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 17 Sep 2024 22:24:46 -0700 Subject: [PATCH] feat(callisto): change udev rules for battery limiting --- 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 2708f7b..365c769 100755 --- a/hosts/callisto/configuration.nix +++ b/hosts/callisto/configuration.nix @@ -115,7 +115,7 @@ services.udev.extraRules = '' KERNEL=="cpu_dma_latency", GROUP="realtime" - KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="80" + KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85" ''; # Allow unfree packages