From 5d843da8a75506bdef4133babbf8acced4c8f343 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 31 May 2021 14:40:18 +0200 Subject: Battery charging threshold --- pc_t14.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pc_t14.nix b/pc_t14.nix index 95c8999..06144b0 100644 --- a/pc_t14.nix +++ b/pc_t14.nix @@ -53,7 +53,13 @@ }; services = { - tlp.enable = true; + tlp = { + enable = true; + settings = { + START_CHARGE_THRESH_BAT0 = 80; + STOP_CHARGE_THRESH_BAT0 = 85; + }; + }; xserver.videoDrivers = ["amdgpu"]; }; -- cgit v1.2.3