Re2: [ltp] battery balancing on Ivy Bridge laptops

Paul Seelig linux-thinkpad@linux-thinkpad.org
Wed, 08 May 2013 17:26:53 +0200


On 05/08/2013 03:17 PM, Tamas Papp wrote:
> Now the only thing I need is some way to achieve battery balancing, even
> manually.

Judging by the short functionality summary shown on the entry page at
https://github.com/teleshoes/tpacpi-bat, i guess this could be achieved
without bothering with tlp:

<inhibit>    1 for inhibit charge, 0 for stop inhibiting charge
<discharge>  1 for force discharge, 0 for stop forcing discharge
<acbreak>    1 for stop forcing when AC is detached, 0 for do not

I was about to include a battery switch feature based on tpacpi-bat in
the ultrabay-battery script, but having a closer look at tpacpi-bat
exposed this unfortunate drawback:

# Limitations/Known Issues:
# 1) you cant force discharge on battery, so balancing is still impossible

So i fear we are out of luck here, unless someone verifies that it
doesn't apply once a secondary UltraBay battery is involved. Could you
try that manually, Tamas?

The acpi-call-source and acpi-call-tools packages are available via:
http://ppa.launchpad.net/linrunner/tlp/ubuntu/pool/main/a/acpi-call

Thanks,
Paul