diff --git a/machines/mayushii/hardware-configuration.nix b/machines/mayushii/hardware-configuration.nix index 2626a8b..12f088a 100644 --- a/machines/mayushii/hardware-configuration.nix +++ b/machines/mayushii/hardware-configuration.nix @@ -41,7 +41,13 @@ powerManagement = { cpuFreqGovernor = "schedutil"; }; - services.tlp.enable = true; + services.tlp = { + enable = true; + settings = { + START_CHARGE_THRESH_BAT0 = 75; + STOP_CHARGE_THRESH_BAT0 = 92; + }; + }; # Most of the time I want to use both screens at the same time and suspend it # regularily by closing the lid