Poul-Henning Kamp wrote:
>
> In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wri
> tes:
>
> >So what does everyone think? Is it suitable to add a read only
> >sysctl 'machdep.apm_powerstate' that reports either AC, nn%,
> >or N/A ? Or should the format be numeric (999 = AC, <=100 = battery %,
> >-1 = N/A)? Or should we not bother? :-)
>
> yes it is suitable.
Perhaps machdep.apm.powerstate, leaving room in the namespace for other
apm parameters? Charging state and battery life leap immediately to
mind.
--
"Where am I, and what am I doing in this handbasket?"
Wes Peters Softweyr LLC
[EMAIL PROTECTED] http://softweyr.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message