[ltp] Re: [ANN] tp_smapi - a new Linux SMAPI driver

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Tue, 6 Dec 2005 01:27:04 +0200


Hi,

On 12/5/05, Uwe Walter <walter-l@tm.uka.de> wrote:
> (*) Just before I hit the send button, I noticed an interesting
> behavior: My TP resets inhibit_charge after about a minute back to zero
> (charging starts again, if not prevented by a start threshold):

It's not a bug, it's a feature!

Except I didn't know about it... Actually the SMAPI interface doesn't
inhibit charging permanently, it just does so for some (possibly very
long) time.

Fixed in tp_smapi 0.06, along with the 2.6.12 compilation problems
using (a variant of) Guenther's patch.

https://sourceforge.net/project/showfiles.php?group_id=3D1212&package_id=3D=
171579

0.06  2005-12-06
----------------
- /sys/devices/platform/smapi/inhibit_charge renamed to
  /sys/devices/platform/smapi/inhibit_charge_minutes and now accepts
  the number of minutes to inhibit charging.
- Compatibility with kernel 2.6.12

  Shem