Subject: Re: Battery status wrong on -current
To: None <port-macppc@NetBSD.ORG>
From: CEH <ceh@sdf-eu.org>
List: port-macppc
Date: 03/02/2005 04:51:37
Magnus Henoch wrote:

> On my iBook G4 running -current, "apm" always gives the following
> output:
> 
> Battery charge state: CRITICAL
> Battery remaining: 0 percent (0 minutes)
> A/C adapter state: connected
> Power management enabled
> 
> When I was running 2.0, it gave correct information.  Has anyone else
> seen this?
> 
> Magnus

Yes, I've also seen it.

# uname -a
NetBSD latte 2.99.16 NetBSD 2.99.16 (LATTE) #0: Sat Feb 26 05:36:04 CET
2005  ceh@latte:/usr/NetBSD-current/src/sys/arch/macppc/compile/LATTE
macppc

It's a GENERIC kernel with no changes except for 'ident' which is set to '"LATTE"'.

# apm
Battery charge state: CRITICAL
Battery remaining: 0 percent (0 minutes)
A/C adapter state: connected
Power management enabled

The machine is a 12" iBook (G4), 800 MHz.


-- 
CEH