Asusctl battery charge limit not working properly

Asusctl battery charge limit is set to 80 but sometimes it will go upto 100 percent. It is very random and very annoying. I have checked /sys/class/power_supply/BAT1/charge_control_end_threshold and that is also 80. I am not a linux expert so any kind of help will be good.

I recently switched to windows for a while because the bluetooth was not working and I did a bios updated. I am guessing that might be related to this but I don’t know

asusctl v6.3.7
Operating System: CachyOS Linux
Kernel Version: 6.18.33-2-cachyos-lts (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3050 Ti Laptop GPU
Product Name: ASUS TUF Gaming F15 FX506HE_FX506HE

If anyone is having this issue, try ghelper for linux

Same problem

Hi.
I have problem with Charge Limit on notebook ASUS TUF Gaming A15 FA507UV_FA507UV.
Each time after reboot Charge Limit == 50% but it charges up to 100% every time
If I change to 80 or 90 % after reboot I see 50% and behavior like above.
Maybe anyone knows how it fix ?

lsmod | grep asus asus_nb_wmi 32768 0 asus_armoury 114688 0 firmware_attributes_class 12288 1 asus_armoury asus_wmi 118784 2 asus_armoury,asus_nb_wmi sparse_keymap 12288 1 asus_wmi rfkill 45056 11 iwlmvm,asus_wmi,bluetooth,cfg80211 video 81920 5 nvidia_wmi_ec_backlight,asus_wmi,amdgpu,asus_nb_wmi,nvidia_modeset wmi 45056 5 video,nvidia_wmi_ec_backlight,asus_armoury,asus_wmi,wmi_bmof

cat /sys/class/power_supply/BAT1/charge_control_end_threshold cat: /sys/class/power_supply/BAT1/charge_control_end_threshold: No data available

previous time I set in charge_control_end_threshold - 80 but it reset that file again

Operating System: CachyOS Linux KDE Plasma Version: 6.7.2 KDE Frameworks Version: 6.27.0 Qt Version: 6.11.1 Kernel Version: 7.1.3-1-cachyos (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 8845HS w/ Radeon 780M Graphics Memory: 32 GiB of RAM (30,6 GiB usable) Graphics Processor 1: AMD Radeon 780M Graphics Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU Manufacturer: ASUSTeK COMPUTER INC. Product Name: ASUS TUF Gaming A15 FA507UV_FA507UV System Version: 1.0