summaryrefslogtreecommitdiff
path: root/usr.sbin/apm/apm.8
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2005-12-02 04:27:53 +0000
committerBob Beck <beck@cvs.openbsd.org>2005-12-02 04:27:53 +0000
commitef9c82da68da8cc29d373cb8942a1b3327c2ff81 (patch)
treeb906f96cd1c701f09c2fbd667f8b60db02faeb20 /usr.sbin/apm/apm.8
parentba3db25113d1765489391fde7fdc789abb3e9f4c (diff)
Modify automatic performance adjustment mode so that the cpu is set
to go fast if the power is connected and the battery is more than 15% charged, and when on batteries keeps setperf low unless needed. add a cool runnings mode option (-C) that does the previous behaviour of keeping the CPU as low as possible unless needed. ok deradt@, sturm@, "i like it's" djm@ henning@ and others.
Diffstat (limited to 'usr.sbin/apm/apm.8')
-rw-r--r--usr.sbin/apm/apm.811
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/apm/apm.8 b/usr.sbin/apm/apm.8
index 3ecd14f5a81..45407b60eff 100644
--- a/usr.sbin/apm/apm.8
+++ b/usr.sbin/apm/apm.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.8,v 1.22 2005/11/23 08:02:58 sturm Exp $
+.\" $OpenBSD: apm.8,v 1.23 2005/12/02 04:27:52 beck Exp $
.\"
.\" Copyright (c) 1996 John T. Kohl
.\" All rights reserved.
@@ -38,7 +38,7 @@
.Op Fl f Ar sockname
.Br
.Nm apm
-.Op Fl AabHLlmPSsvz
+.Op Fl AabCHLlmPSsvz
.Op Fl f Ar sockname
.Sh DESCRIPTION
.Nm
@@ -64,6 +64,10 @@ means connected, 2 means backup power source, and 255 means unknown.
Display the battery status.
0 means high, 1 means low, 2 means
critical, 3 means charging, 4 means absent, and 255 means unknown.
+.It Fl C
+Set
+.Xr apmd 8
+to cool running performance adjustment mode.
.It Fl f Ar sockname
Set the name of the socket via which to contact
.Xr apmd 8
@@ -87,7 +91,8 @@ Display the estimated battery lifetime (in percent).
Display the estimated battery lifetime (in minutes).
.It Fl P
Display the performance adjustment mode.
-0 means uninitialized, 1 means manual, and 2 means automatic mode.
+0 means uninitialized, 1 means manual, 2 means automatic mode, and 3
+means cool running mode.
.It Fl S
Put the system into stand-by (light sleep) mode.
.It Fl s