public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dell Inspiron i8100 with 2 batteries
@ 2002-05-17 14:25 John Ruttenberg
  2002-05-17 14:56 ` Alan Cox
  2002-05-20 14:09 ` Marc Lehmann
  0 siblings, 2 replies; 9+ messages in thread
From: John Ruttenberg @ 2002-05-17 14:25 UTC (permalink / raw)
  To: linux-kernel

I tried sending this to linux-laptop and got no response, so I thought I try a
larger audience:

I am using 2.4.18 and have a Dell I8100 with 2 batteries.  If combined charge
of the batteries is less than 50% (according to the bios), then /proc/apm
shows the battery power level X 2.  If the combined charge of the batteries is
greater than 50%, then /proc/apm shows:

    1.16 1.2 0x03 0x01 0xff 0x10 -1% -1 ?

I think this is because the bogus calculation it would make would result in a
percentage > 100.

I took a quick look at arch/i386/kernel/apm.c but it wasn't obvious what to
do.

Does anyone else have any experience with this?

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-05-20 15:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-17 14:25 Dell Inspiron i8100 with 2 batteries John Ruttenberg
2002-05-17 14:56 ` Alan Cox
2002-05-17 14:39   ` John Ruttenberg
2002-05-17 15:20     ` David G Hamblen
2002-05-18 12:20       ` David Woodhouse
2002-05-20 15:26         ` Dell Inspiron i8100 with 2 batteries [Solved!] John Ruttenberg
2002-05-17 17:20     ` Dell Inspiron i8100 with 2 batteries Alan Cox
2002-05-20 14:09 ` Marc Lehmann
2002-05-20 15:00   ` John Ruttenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox