diff options
author | Hao Wei Tee <angelsl@in04.sg> | 2017-08-15 00:13:51 +0800 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-08-14 23:27:12 +0300 |
commit | ade50296186a1c45311d05a06117a2bd112d37fd (patch) | |
tree | 807769b70b6fcf9953201642547a6b1c76b8eb67 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c977b98bbef5898ed3d30b08ea67622e9e82082a (diff) | |
download | linux-stable-ade50296186a1c45311d05a06117a2bd112d37fd.tar.gz linux-stable-ade50296186a1c45311d05a06117a2bd112d37fd.tar.bz2 linux-stable-ade50296186a1c45311d05a06117a2bd112d37fd.zip |
platform/x86: ideapad-laptop: Expose conservation mode switch
This exposes the battery conservation mode present on some (?) IdeaPads.
The mode is set by calling ACPI method SBMC with argument 3 (on) or
5 (off). Status is reported in bit 5 of the return value of ACPI method
GBMD.
Signed-off-by: Hao Wei Tee <angelsl@in04.sg>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions