Re: [PATCH 08/15] samsung-laptop: add battery life extender support

From: Corentin Chary
Date: Wed Nov 23 2011 - 01:36:31 EST


On Tue, Nov 22, 2011 at 11:21 PM, Greg KH <gregkh@xxxxxxx> wrote:
> On Tue, Nov 22, 2011 at 11:02:39PM +0100, Corentin Chary wrote:
>> Signed-off-by: Corentin Chary <corentincj@xxxxxxxxxx>
>> ---
>> Â.../ABI/testing/sysfs-driver-samsung-laptop    Â|  10 +++
>> Âdrivers/platform/x86/samsung-laptop.c       Â|  82 ++++++++++++++++++++
>> Â2 files changed, 92 insertions(+), 0 deletions(-)
>>
>> diff --git a/Documentation/ABI/testing/sysfs-driver-samsung-laptop b/Documentation/ABI/testing/sysfs-driver-samsung-laptop
>> index 0a81023..a6a56e1 100644
>> --- a/Documentation/ABI/testing/sysfs-driver-samsung-laptop
>> +++ b/Documentation/ABI/testing/sysfs-driver-samsung-laptop
>> @@ -17,3 +17,13 @@ Description: Â Â Â Some Samsung laptops have different "performance levels"
>> Â Â Â Â Â Â Â Specifically, not all support the "overclock" option,
>> Â Â Â Â Â Â Â and it's still unknown if this value even changes
>> Â Â Â Â Â Â Â anything, other than making the user feel a bit better.
>> +
>> +What: Â Â Â Â Â Â Â Â/sys/devices/platform/samsung/battery_life_extender
>> +Date: Â Â Â Â Â Â Â ÂDecember 1, 2011
>> +KernelVersion: Â Â Â 3.3
>> +Contact: Â Â Corentin Chary <corentin.chary@xxxxxxxxx>
>> +Description: Max battery charge level can be modified, battery cycle
>> + Â Â Â Â Â Â life can be extended by reducing the max battery charge
>> + Â Â Â Â Â Â level.
>> + Â Â Â Â Â Â 0 means normal battery mode (100% charge)
>> + Â Â Â Â Â Â 1 means battery life extender mode (80% charge)
>
> Really? ÂHuh, learn something new every day, that's rally cool, nice
> job.

Maybe it's only marketing bullshit... but the option is present both
in the BIOS and on windows, so it looks like a real feature.


--
Corentin Chary
http://xf.iksaif.net
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/