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 <tazjin@tvl.su>
This commit is contained in:
Vincent Ambo 2022-03-07 14:25:21 +03:00 committed by tazjin
parent 50e6d3d77e
commit c1d0163783

View file

@ -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;