aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorKristian Klausen <[email protected]>2020-03-03 19:02:15 +0100
committerAndy Shevchenko <[email protected]>2020-03-20 14:44:46 +0200
commit6b3586d45bba14f6912f37488090c37a3710e7b4 (patch)
tree07b02cc910571c867ae1eb291cfa22c569049bc6 /tools/perf/scripts/python/bin/stackcollapse-record
parent8d92e160dd8fa62a4e52e334ff6dccc885cb6696 (diff)
platform/x86: asus-wmi: Support laptops where the first battery is named BATT
The WMI method to set the charge threshold does not provide a way to specific a battery, so we assume it is the first/primary battery (by checking if the name is BAT0). On some newer ASUS laptops (Zenbook UM431DA) though, the primary/first battery isn't named BAT0 but BATT, so we need to support that case. Fixes: 7973353e92ee ("platform/x86: asus-wmi: Refactor charge threshold to use the battery hooking API") Cc: [email protected] Signed-off-by: Kristian Klausen <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions