[ltp] Battery tweaks for X1 Carbon - cannot install ts_mapi

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Sat, 22 Dec 2012 22:50:41 -0200


On Fri, 21 Dec 2012, Sandro wrote:
> I thought I'd install tp-smapi-dkms because my battery keeps charging
> those small percentages while I'd rather have it charge only when it
> has dropped below 40%.
> 
> But those instructions found in
> <http://www.thinkwiki.org/wiki/Tp_smapi> do no good in Ubuntu 12.10.
> The modprobe_command gives an error about a missing file that is
> there?
> 
> Does somebody know how to get those precise battery functions in
> modern thinkpads tike this Carbon X1?

Yes.  Find a way to get me one, or track down the author of tp-smapi
and get him one.  Failing that, track down "mg" from the thinkpad-forums
and get him one.

Maybe there are others who could do it, I am sure they'll say "me too"
to this thread if they're around :p

If you are *really* adventurous, I can tell you how to set the battery
levels directly though the EC register map on T4x-class ECs, bypassing
SMAPI.  It could do something quite bad to your thinkpad, though.  I have
never tested it in anything newer than a T43/p.

There's a much easier way.  Set it in windows, and it should hold until
you power down the EC, which actually requires removing all batteries
and AC power at the same time for a while (or doing the "press power
button a number of times without batteries and AC" dance).

-- 
  "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