canack / matebook-charge-limit

Huawei matebook battery charge limit tool
Apache License 2.0
6 stars 0 forks source link
battery-level cli huawei-matebook huawei-wmi matebook

Matebook charge limit with CLI

This tool generated to changing battery charge threshold values via command line.

Requirements

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

Installation

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 =)

Usage/Examples

chargelimit # Prints how to use

# For example
chargelimit 70 # Maximum charge limit setting as 70

License

Apache License 2.0