Re: battery charging whilst in suspend?

From: bedboi <bedboi.a.t.gmx.net>
Date: Mon Aug 09 2004 - 12:24:44 EDT

On Mon, 09 Aug 2004 16:15:21 +0100
Calum Mackay <calum.mackay@cdmnet.org> wrote:

> Would anyone know: should I expect the battery to be charged when my
> 5550 is suspended?
>
> It was dead this morning, despite being plugged in whilst suspended for
> several hours yesterday, which makes me suspect that it doesn't.
>
> I also note that the charging light doesn't cycle when suspended: it
> just remains in whatever state (off or on) it was when suspended.
>

True, you have to turn the ipaq on to charge it.

> On a related note, apm makes things harder to diagnose than they should
> be, since whenever I plug it in, even with a half-depleted battery, the
> output leaps immediately to:
>
> -bash-2.05b# apm
> AC on-line, battery charging: 100%
>
> and so I can't gauge whether any charging has occurred when suspended.

This is an annoying bug, i investigated this problem some months ago, but i forgot
details.

>
> Is the above behaviour all to be expected?

If anyone is good with kernel hacking please take a look to:

 linux/kernel/arch/arm/mach-ipaq/h3600_asic_battery.c
 linux/kernel/arch/arm/mach-ipaq/battery_h5400.c

Regards,
Luca
Received on Mon Aug 9 12:20:03 2004

This archive was generated by hypermail 2.1.8 : Mon Aug 09 2004 - 12:20:40 EDT