lkml.org 
[lkml]   [2013]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] thinkpad_acpi: Add support for controlling charge thresholds
Date
This patch series adds support for specifying charging thresholds,
forcing a battery to discharge, and inhibiting charging, on ThinkPad
Laptops using Sandy Bridge or newer processors.

The first two patches should be stable now, the third one does not work on
my test system (but I'd appreciate if anyone with something other than an
X230 tests it).

The inhibit charging part is a bit unprecise, and I can obviously not test
that -1 really means permanently, but I assume it does. I don't know whether
this one should be merged.

Changes since the RFC PATCH:
- Define batteries more dynamically instead of statically using large
macros. Added support for up to 3 batteries, unsupported ones will not
be exported.
- Added 3 more new patches with more features

Julian Andres Klode (4):
thinkpad_acpi: Add support for controlling charge thresholds
thinkpad_acpi: battery: Add force_discharge attribute
thinkpad_acpi: battery: Add force_discharge_ac_break attribute
thinkpad_acpi: battery: Add inhibit_charge_minutes attribute

Documentation/laptops/thinkpad-acpi.txt | 37 ++++
drivers/platform/x86/thinkpad_acpi.c | 300 ++++++++++++++++++++++++++++++++
2 files changed, 337 insertions(+)

--
1.8.4.2



\
 
 \ /
  Last update: 2013-11-11 15:21    [W:0.182 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site