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

2017-08-13 Thread Andy Shevchenko
On Sat, May 27, 2017 at 10:31 AM, 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

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

2017-08-07 Thread Hao Wei Tee
On 7/8/2017 02:35, Andy Shevchenko wrote: > On Sat, Aug 5, 2017 at 6:18 PM, Hao Wei Tee wrote: >> On 30/5/2017 21:22, Andy Shevchenko wrote: >>> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: On 5/27/17 3:31 PM, Hao Wei Tee wrote: > This exposes the battery conservation mode present

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

2017-08-06 Thread Andy Shevchenko
On Sat, Aug 5, 2017 at 6:18 PM, Hao Wei Tee wrote: > On 30/5/2017 21:22, Andy Shevchenko wrote: >> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee 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 c

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

2017-08-05 Thread Hao Wei Tee
On 30/5/2017 21:22, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee 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

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

2017-06-10 Thread Hao Wei Tee
On 5/30/17 10:05 PM, Hao Wei Tee wrote: > On 5/30/17 9:22 PM, Andy Shevchenko wrote: >> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee 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

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

2017-05-30 Thread Hao Wei Tee
On 5/30/17 9:22 PM, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee 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

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

2017-05-30 Thread Andy Shevchenko
On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee 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 valu

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

2017-05-28 Thread Hao Wei Tee
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

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

2017-05-27 Thread Hao Wei Tee
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 meth