summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-07 05:24:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-03-07 05:24:37 +0000
commitcb112ab70dec810d3b19ad3f4199f958caa75f7b (patch)
treebd6e5006119ff7a170ed510937ced2b0152679c8
parent1989834b6e8a0f809bd451da55ba5783bd337d96 (diff)
Clone documentation for -C and -A options from apmd(8); otherwise they look
terribly naked in here
-rw-r--r--usr.sbin/apm/apm.825
1 files changed, 24 insertions, 1 deletions
diff --git a/usr.sbin/apm/apm.8 b/usr.sbin/apm/apm.8
index 23e3fc6ddb1..6f17c9db32e 100644
--- a/usr.sbin/apm/apm.8
+++ b/usr.sbin/apm/apm.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.8,v 1.27 2006/01/28 17:08:13 sturm Exp $
+.\" $OpenBSD: apm.8,v 1.28 2006/03/07 05:24:36 deraadt Exp $
.\"
.\" Copyright (c) 1996 John T. Kohl
.\" All rights reserved.
@@ -56,6 +56,18 @@ The options are as follows:
Set
.Xr apmd 8
to automatic performance adjustment mode.
+In this mode, when CPU idle time falls below 10%,
+or if the AC power is connected and the battery is more than 15% charged,
+.Nm
+raises
+.Va hw.setperf
+as much as possible.
+Otherwise, when the CPU idle time
+is above 30% and the system is running on battery power,
+.Nm
+lowers
+.Va hw.setperf
+as much as possible to reduce power consumption.
.It Fl a
Display the external charger (A/C status).
0 means disconnected, 1
@@ -68,6 +80,17 @@ critical, 3 means charging, 4 means absent, and 255 means unknown.
Set
.Xr apmd 8
to cool running performance adjustment mode.
+In this mode, when CPU idle time falls below
+10%,
+.Nm
+raises
+.Va hw.setperf
+as much as necessary.
+Otherwise, when idle time is above 30%
+.Nm
+reduces
+.Va hw.setperf
+as much as possible to reduce heat, noise, and power comsumption.
.It Fl f Ar sockname
Set the name of the socket via which to contact
.Xr apmd 8