[ltp] tp_smapi 0.09 (dual battery, extended status support)

Volker Gropp linux-thinkpad@linux-thinkpad.org
Tue, 13 Dec 2005 16:43:43 +0100


* On Tue, Dec 13, 2005 at 15:04:44 +0200, Shem Multinymous wrote:

> > > * Where are the activity (charging etc.) bits?
> > hmm, i only noticed yet discharging is 40 d0 in first lines of
> > dump, c0 c0 is "charged".
> 
> The MSB of the first byte probably means "AC connected" (which reminds
> me, I forgot to mention the new
> /sys/devices/platform/smapi/ac_connected). So it's probably something
> in the 2nd.
> 
> I see this in the 2nd byte:
> 
> Idle:             0xc0
> Discharging: 0xd0
> Charging:     0xe0
> 
> Does anyone see other values?

i see exactly those values, just checked charging as well.
Still on X40 and 2.6.15-rc5-suspend2

Volker Gropp