History

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.

Kristian Klausen committed 7 years ago

Commit d507a541 parent 02a5e9b2 files · +49 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+1−0
@@ -61,6 +61,7 @@ · 60 unmodified lines
61 61
62/* Misc */62/* Misc */
63#define ASUS_WMI_DEVID_CAMERA 0x0006001363#define ASUS_WMI_DEVID_CAMERA 0x00060013
64#define ASUS_WMI_CHARGE_THRESHOLD 0x00120057
64 65
65/* Storage */66/* Storage */
66#define ASUS_WMI_DEVID_CARDREADER 0x0008001367#define ASUS_WMI_DEVID_CARDREADER 0x00080013

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t