about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--hardware/thinkpad/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hardware/thinkpad/default.nix b/hardware/thinkpad/default.nix
index 139097f..1898022 100644
--- a/hardware/thinkpad/default.nix
+++ b/hardware/thinkpad/default.nix
@@ -9,8 +9,14 @@
   # me_state = Disable
   # gfx_uma_size = 128M
 
+  # ectool battery threshold setting (84%):
+  #
+  # ectool -w 0xb1 -z 0x54
+
   environment.systemPackages = with pkgs; [
     flashrom
     nvramtool
+    ectool
   ];
+
 }