Open OllyFunkster opened 2 days ago
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):
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