You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Attempting to change battery charge thresholds, either using TLP or by directly, has no effect, and /sys/devices/platform/huawei-wmi/charge_control_thresholds always reads "0 100"
I see in some threads about other Huawei machines that "smart battery" may be interfering with this, and they give some commands that can be used to debug. I am assuming that these are very machine-specific, is there a set of commands available for this SKU?
Many thanks for your time and attention
The text was updated successfully, but these errors were encountered:
One small update: I did try the commands in e.g. this guide anyway, and it did report being in mode 4. Using the example commands to set it to mode 1 and configure the start/stop thresholds does work - but n.b. that writing to charge_control_thresholds will set it back to mode 4 again (and charge_control_thresholds will contain "0 100" still).
Describe the bug
Attempting to change battery charge thresholds, either using TLP or by directly, has no effect, and /sys/devices/platform/huawei-wmi/charge_control_thresholds always reads "0 100"
To Reproduce
Steps to reproduce the behavior:
cat /sys/devices/platform/huawei-wmi/charge_control_thresholds
0 100
echo "75 80" | sudo tee /sys/devices/platform/huawei-wmi/charge_control_thresholds
75 80
cat /sys/devices/platform/huawei-wmi/charge_control_thresholds
0 100
Expected behavior
cat /sys/devices/platform/huawei-wmi/charge_control_thresholds
0 100
echo "75 80" | sudo tee /sys/devices/platform/huawei-wmi/charge_control_thresholds
75 80
cat /sys/devices/platform/huawei-wmi/charge_control_thresholds
75 80
Screenshots
If applicable, add screenshots to help explain your problem.
(please complete the following information):
acpidump.out.txt
huawei_wmi 24576 0
wmi_bmof 12288 0
sparse_keymap 12288 1 huawei_wmi
battery 28672 1 huawei_wmi
wmi 32768 3 video,huawei_wmi,wmi_bmof
output of
sudo lshw
:I see in some threads about other Huawei machines that "smart battery" may be interfering with this, and they give some commands that can be used to debug. I am assuming that these are very machine-specific, is there a set of commands available for this SKU?
Many thanks for your time and attention
The text was updated successfully, but these errors were encountered: