Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Nov 2005 20:54:13 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Nate Lawson <nate@root.org>
Cc:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, Mike Silbersack <silby@silby.com>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf files src/sys/modules/acpi/acpi Makefile src/sys/dev/acpica acpi_battery.c acpi_smbat.c acpi_smbus.h acpiio.h 
Message-ID:  <6458.1131306853@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 06 Nov 2005 11:20:55 PST." <436E5797.7090605@root.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <436E5797.7090605@root.org>, Nate Lawson writes:


>I've said it many times: we need a real predictive algorithm.  Taking a 
>single sample will always have hysteresis problems.

I implemented my own algorithm and it works OK for me.  Not perfect,
but OK:
	http://phk.freebsd.dk/patch/powerd.patch

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6458.1131306853>