[PATCH 0/4] thinkpad_acpi: Add support for controlling charge thresholds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel




[Index of Archives]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite Advice]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux