summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-04-21 11:48:33 +0100
committerGitHub <noreply@github.com>2020-04-21 11:48:33 +0100
commit16336614d3fb785e9526d19e461dc57ef081e8c4 (patch)
treee7c1e0eb3d9fc59812dcfd06a603cb8884399389
parente58c64a03c931bfddbcae238d54ac63a67b6fa35 (diff)
parent76f681355cb6c2aab79d190907fbb521bd19ec87 (diff)
Merge pull request #154 from j0hax/x230-tlp-thresholds
-rw-r--r--lenovo/thinkpad/x230/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/lenovo/thinkpad/x230/default.nix b/lenovo/thinkpad/x230/default.nix
index 58b09f4..6c528ce 100644
--- a/lenovo/thinkpad/x230/default.nix
+++ b/lenovo/thinkpad/x230/default.nix
@@ -16,4 +16,10 @@
services.xserver.deviceSection = lib.mkDefault ''
Option "TearFree" "true"
'';
+
+ services.tlp.extraConfig = lib.mkDefault ''
+ START_CHARGE_THRESH_BAT0=67
+ STOP_CHARGE_THRESH_BAT0=100
+ '';
+
}