Re: battery info: apm cannot attach to mainbus: compiling kernel error

Martin Husemann <[email protected]> Mon, 16 May 2016 10:17:52 +0200
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
On Mon, May 16, 2016 at 02:58:11AM +0000, [email protected] wrote:
> when my computer boots up I see a message about acpibat0 to the effect 
> of "charging state" and it's accurate to where the battery is at the 
> time.

apm nowaday attaches as a child to acpi, and your kernel probably already
has all you need.

Try "envstat" and see if reports acpibat0 data.

Martin