platform/x86: asus-wmi: Add support for charge threshold
authorKristian Klausen <kristian@klausen.dk>
Mon, 5 Aug 2019 19:23:05 +0000 (21:23 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Aug 2019 09:38:48 +0000 (12:38 +0300)
commitd507a54f5865d8dcbdd16c66a1a2da15640878ca
treef059fc9505ce86bb16fa8cfe6ac5168037c461d2
parent02a5e9bc86dee8c7698ac2cfd9e29650eb318442
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>
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h