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

From: Greg KH
Date: Tue Nov 22 2011 - 17:36:45 EST


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.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
--
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/