
-----Original Message----- From: Lawrence D'Oliveiro <ldo(a)geek-central.gen.nz> Sent: Saturday, 19 February 2022 15:37 To: wlug(a)list.waikato.ac.nz Subject: [wlug] Tip Of The Week: Controlling The Battery Charge Threshold
Came across this rather interesting reader comment <https://forums.theregister.com/forum/all/2022/02/18/something_for_the _weekend/#c_4417057> about (supposedly) prolonging the life of your laptop battery by reducing the limit to which it is charged. This is configured by creating a systemd service file (called, for example, /etc/systemd/system/battery-charge-threshold.service) that automatically sets the threshold at boot time. Its contents are
Could these not also have gone into the relevant scripts for SysV or init.d startups? Or is /sys/class/power/BAT0 part of a systemd only API?