From owner-freebsd-acpi@FreeBSD.ORG Mon May 4 21:26:11 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B04106568C for ; Mon, 4 May 2009 21:26:11 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id 1A2A78FC12 for ; Mon, 4 May 2009 21:26:10 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: by fxm6 with SMTP id 6so4060812fxm.43 for ; Mon, 04 May 2009 14:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:organization:to :subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; bh=l0lhDIryZr0uSVIiEOHSZZ8kgy5EeTWepeeWf5whLis=; b=R3Lmcn2ab1n85+woxB1MAHZJCxr4HF4YJqQ0yY5jXFpLNhQw/lbPxSO6T/pLj7Ipil KwgqLUE1MOhNQ7vjkzqOrdqr4ccygYpAlT4/Lh1JsUjNIZA7ccLdxkuKBJdNTxtG547t 9LJgAOh3Vak9sGHBDU5dtTG4edvraclNmEZ88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:organization:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=XKGJZP98iT+xDuRRgtc6lpu5KuwjFtbx+5j5U2Y8deJj9mRz9pfqc/ylVCGMfzz8GP 3Inx12HD67Y78mdKd8GPXWR6J73k0d9AlZ98mZ/bCaldlb3xwOfVud7nMIa4N9JX+TS0 fHhC8UEfA3ToD4wGbtKS+h2CZKtb0RmoJNFTA= Received: by 10.103.246.1 with SMTP id y1mr3837102mur.120.1241470937420; Mon, 04 May 2009 14:02:17 -0700 (PDT) Received: from onyx_hp.dhcp.loc ([92.50.244.68]) by mx.google.com with ESMTPS id i5sm17361128mue.55.2009.05.04.14.02.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 May 2009 14:02:16 -0700 (PDT) From: Dmitry Kolosov Organization: Home To: freebsd-acpi@freebsd.org Date: Tue, 5 May 2009 01:00:00 +0400 User-Agent: KMail/1.11.2 (FreeBSD/7.2-PRERELEASE; KDE/4.2.2; i386; ; ) References: <49FE1826.4060000@FreeBSD.org> <20090504011421.GI6901@egr.msu.edu> <49FE64C5.2020507@FreeBSD.org> In-Reply-To: <49FE64C5.2020507@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200905050100.00739.ivakras1@gmail.com> Subject: Re: Fighting for the power. X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ivakras1@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 21:26:12 -0000 On =F0=CF=CE=C5=C4=C5=CC=D8=CE=C9=CB 04 =CD=C1=D1 2009 07:45:09 Alexander M= otin wrote: > Adam McDougall wrote: > > On Mon, May 04, 2009 at 01:18:14AM +0300, Alexander Motin wrote: > >=20 > > I would like to summarize some of my knowledge on reducing FreeBSD po= wer > > consumption and describe some new things I have recently implemented = in > > 8-CURRENT. The main character of this story is my 12" Acer TravelMate > > 6292 laptop with C2D T7700 2.4GHz CPU, 965GM chipset and SATA HDD, un= der > > amd64 8-CURRENT. > > =20 > > Great list! May I suggest screen brightness and DPMS as another tool > > to save power, I've measured a 5W difference from the screen draw. > > Keeping the brightness as low as tolerable helps considerably, but=20 > > also using 'xset dpms 120 120 120' (modify to taste) in .xinitrc to > > turn off the screen after 2 minutes helps when the laptop isn't being > > used every second. May need this in xorg.conf: > > Option "dpms" >=20 > Yes, backlight is also important. But there is not so much things could=20 > be done. >=20 > When I am leaving system for some time, I can just close the lid, if not= =20 > put system into S3 state, which require very small power (at least I was= =20 > unable to really measure it without all-day-long testing). Thanks to=20 > jkim@ we have more or less working S3 state for amd64 now. >=20 I'm using sysctl to controll brightness of my lcd (wrongly marked as crt by= sysctl, but it works fine): hw.acpi.video.crt1.brightness: 95 - current brightness of lcd (crt) hw.acpi.video.crt1.fullpower: 95 - top level of brightness set by acpi_vide= o if AC plugged hw.acpi.video.crt1.economy: 43 - bottom level of brightness set by acpi_vid= eo if AC unplugged hw.acpi.video.crt1.levels: 95 43 20 24 28 32 37 43 50 59 69 81 95 - various= brightness levels can be set manual by sysctl It works fine for me, and it's easy to write a script to react on different= events during a day.