From c1d016378349c277348af188d2a7863d0f33e12c Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 7 Mar 2022 14:25:21 +0300 Subject: chore(tazjin/tverskoy): Remove tlp charge threshold configuration While in Egypt, I am on the go more often and actually having the machine charge fully is quite useful. Change-Id: I45109057936a0b1d8075f9eb5dcd77c45fce893d Reviewed-on: https://cl.tvl.fyi/c/depot/+/5352 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/nixos/tverskoy/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'users/tazjin') diff --git a/users/tazjin/nixos/tverskoy/default.nix b/users/tazjin/nixos/tverskoy/default.nix index f07c5cb709dc..b8cd20380ae9 100644 --- a/users/tazjin/nixos/tverskoy/default.nix +++ b/users/tazjin/nixos/tverskoy/default.nix @@ -177,13 +177,8 @@ lib.fix (self: { SUBSYSTEM=="i2c-dev", ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:08.1/0000:06:00.0/i2c-5/i2c-dev/i2c-5", SYMLINK+="i2c-amdgpu-dm", TAG+="uaccess" ''; - # Configure TLP to keep battery charge between 40-70% while - # plugged in to the wall (thanks etu for the recommendation). - tlp = { - enable = true; - settings.START_CHARGE_THRESH_BAT0 = 40; - settings.STOP_CHARGE_THRESH_BAT0 = 70; - }; + # Enable power-saving features. + tlp.enable = true; xserver = { enable = true; -- cgit 1.4.1