[ltp] battery balancing on Ivy Bridge laptops

Tamas Papp linux-thinkpad@linux-thinkpad.org
Wed, 08 May 2013 15:17:22 +0200

Hi Paul,

Thanks, I didn't know this.

Now the only thing I need is some way to achieve battery balancing, even
manually.  What does "discharge" mean in the context of Thinkpad
batteries?  Would

tlp discharge BAT0

simply make the machine use the main battery for its energy needs, or
would it forcibly discharge the battery, just wasting energy as quickly
as possible (eg a battery-friendly way of shorting).  [Sorry for the
stupid question.]



On Wed, May 08 2013, Paul Seelig wrote:

> Hi Tamas,
> are you already aware of http://linrunner.de/en/tlp/tlp.html ?
> According to the FAQ at http://linrunner.de/en/tlp/docs/tlp-faq.html,
> "TLP automatically uses tpacpi-bat when the kernel module acpi_call is
> available".
> Hope this helps,
> Paul
> On 05/08/2013 02:16 PM, Tamas Papp wrote:
>> Since tp_smapi does not work on Ivy Bridge laptops [1], I am looking for
>> an alternative for battery balancing.  I found tpacpi-bat [2,3] which
>> exposes the API for ACPI calls.
>> Is there a simple way of adapting already existing battery balancing
>> scripts using tpacpi-bat?  I thought of writing it myself, but I am
>> unsure what it should do: should it monitor battery levels and always
>> force-discharge the one which has more energy left?