Re2: [ltp] battery balancing on Ivy Bridge laptops

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Mon, 1 Jul 2013 11:13:10 -0300


On Sun, 30 Jun 2013, Tamas Papp wrote:
> For now, I ended up implementing a small script that gets run by cron
> and displays a message when the ultrabay battery goes below 30%, so I
> can remove it manually.  That appears to be the only way to prevent it
> from discharging first to some insanely low level (near 3-5%).

You might be able to "software eject" the battery to force the other one to
discharge.  This works on the IBM-class ECs, so it might work on the newest
Lenovo ones as well.

The software ejection can be done using the proper node in sysfs through the
dock/bay driver.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh