From owner-cvs-all@FreeBSD.ORG Thu May 6 01:59:22 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 692E016A4CE; Thu, 6 May 2004 01:59:22 -0700 (PDT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id F280343D4C; Thu, 6 May 2004 01:59:21 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from freebsd.org (g4.samsco.home [192.168.0.12]) by pooker.samsco.org (8.12.10/8.12.10) with ESMTP id i4693au6031726; Thu, 6 May 2004 03:03:37 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <4099FE31.9020802@freebsd.org> Date: Thu, 06 May 2004 02:58:25 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20040214 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Silbersack References: <200405052004.i45K4EnF029671@repoman.freebsd.org> <20040505183432.Y639@odysseus.silby.com> <20040505171634.N37631@root.org> <20040505212626.R2182@odysseus.silby.com> <20040506025051.V630@odysseus.silby.com> <20040506011323.C39605@root.org> <20040506034307.M811@odysseus.silby.com> In-Reply-To: <20040506034307.M811@odysseus.silby.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=1.0 required=3.8 tests=SUBJ_HAS_SPACES autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: Nate Lawson Subject: Re: cvs commit: src/sys/dev/acpica/Osd OsdSynch.csrc/sys/i386/include src/sys/amd64/include acpica_machdep.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 08:59:22 -0000 Mike Silbersack wrote: > On Thu, 6 May 2004, Nate Lawson wrote: > > >>>Does devd receive lid status events? I'm thinking that it would be >>>advantageous for my battery life if I could throttle the cpu down whenever >>>the lid is closed. >> >>cat /etc/devd.conf: >># Examples of notify hooks. A notify is a generic way for a kernel >># subsystem to send event notification to userland. >> >>If you want to change CPU idle states and/or throttling on AC line >>transition, see the appropriate values in /etc/rc.conf. But for one-offs >>like lid to control CPU, using devd.conf and a small script is the way to >>go. >> >>-Nate > > > Good deal, it works as avertised. I even learned a bit of shell scripting > in the process of writing a simple speed switching script. :) > > Of course, the real question is whether or not it'll actually help battery > life at all; this is a mobile celeron, I suspect that I won't have much of > an impact. Ah well. > > Mike "Silby" Silbersack I've found that the best way to extend battery life on a laptop is to turn down the display brightness as low as possible. CPU throttling, PCI power states, etc, make a small (but measurable) difference on my P4-M laptop, but the real win comes from turning down the brightness. Scott