From ac70f97776390c5d679fd2ae1903d984ef1f0e87 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 11 Sep 2022 00:50:56 +0200 Subject: [PATCH] mayushii: Adjust charge thresholds Because I most of the time use it with a charger connected, this avoids it charging after begin unplugged for a short amount of time and just barely falling below the threshold. --- machines/mayushii/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/mayushii/hardware-configuration.nix b/machines/mayushii/hardware-configuration.nix index eb0dd96..f49ba16 100644 --- a/machines/mayushii/hardware-configuration.nix +++ b/machines/mayushii/hardware-configuration.nix @@ -47,8 +47,8 @@ services.tlp = { enable = true; settings = { - START_CHARGE_THRESH_BAT0 = 75; - STOP_CHARGE_THRESH_BAT0 = 92; + START_CHARGE_THRESH_BAT0 = 40; + STOP_CHARGE_THRESH_BAT0 = 90; USB_DENYLIST = lib.concatStringsSep " " [ ]; };