2024-01-19 14:36:08 +00:00
|
|
|
_: {
|
|
|
|
services = {
|
|
|
|
tlp = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = let
|
2024-06-03 07:05:12 +00:00
|
|
|
max_percent = 60;
|
2024-04-17 09:08:49 +00:00
|
|
|
|
|
|
|
start_charge = 100 - max_percent;
|
|
|
|
stop_charge = max_percent;
|
2024-01-19 14:36:08 +00:00
|
|
|
in {
|
|
|
|
START_CHARGE_THRESH_BAT0 = start_charge;
|
|
|
|
STOP_CHARGE_THRESH_BAT0 = stop_charge;
|
|
|
|
|
|
|
|
START_CHARGE_THRESH_BAT1 = start_charge;
|
|
|
|
STOP_CHARGE_THRESH_BAT1 = stop_charge;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|