Date: Sun, 16 Jul 2000 11:48:36 -0600 From: Wes Peters <wes@softweyr.com> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: nsayer@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: sysctl interface for apm? Message-ID: <3971F574.B492B904@softweyr.com> References: <1884.963737703@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote: > > In message <200007160625.XAA92886@freefall.freebsd.org>, nsayer@FreeBSD.ORG 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 wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3971F574.B492B904>