This tool generated to changing battery charge threshold values via command line.
This tool working huawei matebook laptops with using huawei-wmi kernel driver.
Usually the latest linux kernels come pre-installed.
For more info, please visit : Huawei-WMI
Execute install.sh
with your regular user.
git clone https://github.com/canack/matebook-charge-limit.git
cd matebook-charge-limit
./install.sh
And now, you ready to go =)
chargelimit # Prints how to use
# For example
chargelimit 70 # Maximum charge limit setting as 70