Re: ACPI battery info failure after some period of time, 2.6.3-x and up

From: Stuart Young
Date: Fri Mar 05 2004 - 17:47:13 EST


On Fri, 5 Mar 2004 04:02 pm, Jeff Chua wrote:
> On Fri, 5 Mar 2004, Stuart Young wrote:
> > ...and it just failed then, using 2.6.4-rc2 still.
>
> have you tried applying patch from ...
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.
>4/ acpi-20040220-2.6.4.diff.bz2
>
>
> I'm on IBM X30, linux 2.6.4-rc2. No problem.
>
>
> # uptime
> 13:02:07 up 3:31, 4 users, load average: 0.08, 0.07, 0.08
>
> # cat /proc/acpi/battery/BAT0/state
> present: yes
> capacity state: ok
> charging state: unknown
> present rate: 0 mW
> remaining capacity: 31780 mWh
> present voltage: 12419 mV

Same failure. Works for 15-20 mins, then it stops reporting anything past the
battery being present.

--
Stuart Young - sgy-lkml@xxxxxxxxxx is for LKML and related email only

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/