summaryrefslogtreecommitdiff
path: root/os/cez
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-27 16:46:15 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-27 16:46:15 +0530
commit20f23006a2204d3fc94da39ca24f8bc78a5bc386 (patch)
tree679e56abfca5a36d8238c08921a4fcb090f2cb59 /os/cez
parenta646d43b6a02830b1872db4ebe8d331663d42bf2 (diff)
cez/tlp: enable battery conservation mode
Diffstat (limited to 'os/cez')
-rw-r--r--os/cez/modules/tlp.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/cez/modules/tlp.nix b/os/cez/modules/tlp.nix
index 912fd5f..7b002d0 100644
--- a/os/cez/modules/tlp.nix
+++ b/os/cez/modules/tlp.nix
@@ -21,6 +21,10 @@
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "low-power";
+
+ # Enable battery conservation mode
+ START_CHARGE_THRESH_BAT0 = 0;
+ STOP_CHARGE_THRESH_BAT0 = 1;
};
};
}