Kernel 5.4 brought the ability to set the battery charge threshold for some Asus laptops, by modifying the charge_control_end_threshold variable exposed under /sys/class/power_supply/BAT0/, see [1] [2].
Most newer Zenbooks supports specifying a charge stop threshold. This scripts is intended for UX430/UX530 desktop
./battery_threshold --help
git clone https://github.com/red-gecko27/battery-threshold.gitcd battery_thresholdchmod 755 battery_thresholdcp battery_threshold /usr/bin
