Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653235

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch
Date 2017-05-30 15:30 +0200
Message-ID <tMPnI-7TL-19@gated-at.bofh.it> (permalink)
References <tLEul-cX-1@gated-at.bofh.it> <tM6JX-2FP-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee <angelsl@angelsl.xyz> wrote:
> On 5/27/17 3:31 PM, Hao Wei Tee wrote:
>> 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.
>>
>> This patch was written based on an IdeaPad U430p. I'm not sure if the ACPI
>> methods are the same across all IdeaPads, so it would be great if this got more
>> testing across other models before it's merged.
>
> I got someone to test on an IdeaPad Y510p. It works on that too.

Do we have any other option that expose something via sysfs?

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch Hao Wei Tee <angelsl@angelsl.xyz> - 2017-05-27 09:40 +0200
  Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode  switch Hao Wei Tee <angelsl@angelsl.xyz> - 2017-05-28 15:50 +0200
    Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-30 15:30 +0200
      Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode  switch Hao Wei Tee <angelsl@angelsl.xyz> - 2017-05-30 16:10 +0200

csiph-web