Aldente Windows & Linux Alternative
to increase stability, you need to prevent computer from overheating (throttle). also, replace normal laptop ram with ecc ram (not server-grade reg-ecc)
but ecc is only supported on Xeon processors.
moreover, you could just use UPS+NUC instead of laptop, to prevent this bloody battery issue.
will these charging limits still work if we close the lid? if not, we could possibly damage the battery.
to prevent damage to computer battery due to overcharging
Linux
kernel 5.5 or newer:
echo 60 | sudo tee /sys/class/power_supply/BAT0/charge_control_end_threshold
with platform-specific drivers, look for: /sys/devices/platform/.*/.*(battery|charge|thresh|limit).*
For ThinkPads and selected other laptops tlp/tlpui (acts like powertop which turns off usb devices, so be careful when running long-term programs) provides a unified way
to configure charge thresholds and recalibrate the battery.
Sometimes tp-smapi from apt
will not install and you need to fetch the source and compile yourself. Activate the plugin by sudo modprobe tp_smapi
Run sudo systemctl start tlp
to initiate service. Run sudo tlp-stat -s
to check status.