2024-06-05 09:21:21 +00:00
|
|
|
{
|
2024-01-19 14:36:08 +00:00
|
|
|
services = {
|
|
|
|
tlp = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = let
|
2024-05-30 14:53:56 +00:00
|
|
|
max_percent = 80;
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|