From owner-freebsd-hackers Sun Jul 16 10:47:44 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id A7D3637B5F9; Sun, 16 Jul 2000 10:47:40 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustident!@homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id LAA08121; Sun, 16 Jul 2000 11:45:07 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <3971F574.B492B904@softweyr.com> Date: Sun, 16 Jul 2000 11:48:36 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Poul-Henning Kamp Cc: nsayer@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: sysctl interface for apm? References: <1884.963737703@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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