diff options
author | Kristian Klausen <kristian@klausen.dk> | 2019-08-05 22:23:05 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-08-16 12:38:48 +0300 |
commit | d507a54f5865d8dcbdd16c66a1a2da15640878ca (patch) | |
tree | f059fc9505ce86bb16fa8cfe6ac5168037c461d2 /include/linux/platform_data/x86/asus-wmi.h | |
parent | 02a5e9bc86dee8c7698ac2cfd9e29650eb318442 (diff) | |
download | linux-d507a54f5865d8dcbdd16c66a1a2da15640878ca.tar.xz |
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>
Diffstat (limited to 'include/linux/platform_data/x86/asus-wmi.h')
-rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h index 409e16064f4b..53934ef38d98 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -61,6 +61,7 @@ /* Misc */ #define ASUS_WMI_DEVID_CAMERA 0x00060013 +#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057 /* Storage */ #define ASUS_WMI_DEVID_CARDREADER 0x00080013 |