tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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

> Having some difficulty adding getting battery information from my
> laptop, [...]

> [...] an alternative to solution to accessing battery information
> such as via acpibat

If envstat shows you the information you want, you could either use it
or write your own program that reads from the same underlying
mechanisms.  (I did the latter with my own laptop.)  Since you say
acpibat reports presence at autoconfig time, I suspect envstat may well
work for you.

You also don't say what NetBSD version(s) you're running, and that may
matter for at least some possible answers.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index