platform/x86: asus-wmi: Add support for charge threshold

Most newer ASUS laptops supports limiting the battery charge level, which
help prolonging the battery life.

Tested on a Zenbook UX430UNR.

Signed-off-by: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
Kristian Klausen 2019-08-05 21:23:05 +02:00 • committed by Andy Shevchenko
commit d507a54f58
2 changed files with 49 additions and 0 deletions