diff options
author | Julian T <julian@jtle.dk> | 2021-05-31 14:40:18 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-05-31 14:40:18 +0200 |
commit | 5d843da8a75506bdef4133babbf8acced4c8f343 (patch) | |
tree | e71b861cd2792e5b9e4485fda34ab5ad806c6451 | |
parent | 9d2314bb6e735b81932ea50e5f3f567fee163d77 (diff) |
Battery charging threshold
-rw-r--r-- | pc_t14.nix | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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"]; }; |