#102·bat

bug: kernel regression in 6.12 removes the charging threshold

Author: okarin69Created Nov 26, 2024Updated Dec 17, 2024
Labelsbug

Subject of the issue

With the arrival linux kernel 6.12, in my asus laptop the /sys/class/power_supply/BAT_0/charge_control_end_threshold file has disappered and charging threshold does not work. But when I switch to linux-lts kernel it reappers and the charging threshold works properly.

Hope this information is helpful.

Your system

For example,

OS: Endeavour OS x86_64 Host: Asus Vivobook Pro 16 2022 Kernel: Linux 6.12.1

Version

1.0 (Latest)

Steps to reproduce

Switch to latest stable Kernel 6.12.1 or newer. => Error: Charge threshold file does not exist

Going back to linux- 6.6.63-lts => Working properly

Expected behaviour

No response

Actual behaviour

No response