Nate Lawson
48bd710904
Move the AC line checking code into its own function, reducing the
...
ifdef __i386__ stuff for APM. Tested as working correctly on i386 and
compile-tested on sparc64.
2005-02-27 01:58:49 +00:00
Marcel Moolenaar
5f4aa96715
Unbreak !i386 platforms. Only i386 has APM, so don't try to fallback
...
on APM on other platforms.
2005-02-27 00:23:19 +00:00
Nate Lawson
b3c9af5615
Change the default levels for adaptive mode to 80% and 90%. On a system
...
with moderate IO going on, system usage can hover around 65-77% even
though it would benefit from higher performance. Typically, only truly
idle systems pass the 90% mark so only demote then.
2005-02-26 23:22:00 +00:00
Nate Lawson
5883360b2f
Import powerd(8), a utility for managing power consumption. Currently, it
...
just uses cpufreq(4) but in the future it should also do things like spin
down disks. This is based on the work by Colin Percival (called "estctrl").
2005-02-26 21:17:31 +00:00