From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 00:50:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FFC1106566C for ; Wed, 28 Jan 2009 00:50:44 +0000 (UTC) (envelope-from shawnbadger@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCCA8FC08 for ; Wed, 28 Jan 2009 00:50:44 +0000 (UTC) (envelope-from shawnbadger@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so6797255rvf.43 for ; Tue, 27 Jan 2009 16:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=8F1dgWd2a8ckeoKbJdsqjRVIgHb3de9IUMKlsVajqew=; b=q3iKL+qW2e0ompPE3yVOJ0UobfNluMFyWd6xm0YWTJ50HqhS/vfP22wgbEAoH1mNpx QGKRqHRAbastdpMs589WbsDK0W7or1xiUAR8xBQILdY4XgtiYcTkn7kuwgusXYMBYsgZ 2DJUbVB3Y1rgQjbcepasuAhsEyqtxNkNahXJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=gffwBX8xfQDi6gBxa0EYmasjKRjF/T/A2M8ZN1KblSNi89HJGP/vUK+EJkm9tiaJHf 4ZfmWI67930YaOGTmjq7SXoPCl8qKoSzFov+e0MVoAiRg2e2TLQRW26jSwBFj2nKE9QA eCfe1wRfsDxziHSvPMUEWKtQsakzvn85kkR2g= Received: by 10.142.84.5 with SMTP id h5mr643960wfb.81.1233103843986; Tue, 27 Jan 2009 16:50:43 -0800 (PST) Received: from ?192.168.1.132? (69.169.154.48.provo.static.broadweave.net [69.169.154.48]) by mx.google.com with ESMTPS id 22sm1095295wfg.19.2009.01.27.16.50.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 27 Jan 2009 16:50:43 -0800 (PST) Message-ID: <497FAB99.1050607@gmail.com> Date: Tue, 27 Jan 2009 17:49:29 -0700 From: Shawn Badger User-Agent: Thunderbird 2.0.0.18 (X11/20081205) MIME-Version: 1.0 To: Chuck Swiger References: <497F9683.3080905@gmail.com> <2F8A37C3-178D-48CB-A17A-CBF6CAD86F60@mac.com> In-Reply-To: <2F8A37C3-178D-48CB-A17A-CBF6CAD86F60@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Laptop battery life on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 00:50:44 -0000 Chuck Swiger wrote: > On Jan 27, 2009, at 3:19 PM, Shawn Badger wrote: >> I'm somewhat of a minimalist and don't use X11. I've disabled the >> bluetooth adapter, but frequently use my wireless adapter (intel >> pro/2200bg). Does anyone have any suggestions that could potentially >> extend my battery life? > > Have you tried reducing HZ to 100 (put kern.hz="100" in > /boot/loader.conf and reboot)? > Are you running powerd? Look into "sysctl hw.acpi" and "sysctl > debug.cpufreq".... > > Regards, Thanks for the ideas Chuck. I lowered kern.hz to 100 as you suggested (does this affect the kernel's ability to track time in milliseconds? ie. if I want to run a benchmark using the 'time' utility?). And the output of the two sysctl queries is posted here: http://pastebin.com/m5ae8aa1c I'm not very familiar with acpi, so if you see anything that could be optimized, I'd appreciate the feedback. Shawn