Linux
Perusing the Linux Kernel source code: Setting battery charge threshold on ASUS laptops
Using systemd to set battery charge threshold automatically during booting on compatible ASUS laptops running Linux Kernel version 5.4 and above. Also, perusing the Linux Kernel source code to understand the history of "battery charge threshold" feature on ASUS laptops and how it works.