summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>1999-02-23 04:18:55 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>1999-02-23 04:18:55 +0000
commit3d2d2f5967f6abed8fe25bcf7f557403b77b3224 (patch)
treedbf20dceeff50ad15597fc3d8ea9b472be2ec194
parent3f677e2deeedd475acd8470ed86ffc39e65efefb (diff)
document power status messages supressed until the
battery life falls below machdep.apmwarn
-rw-r--r--share/man/man4/man4.i386/apm.413
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man4/man4.i386/apm.4 b/share/man/man4/man4.i386/apm.4
index 77b7c3ea1bc..f2a9e5bebae 100644
--- a/share/man/man4/man4.i386/apm.4
+++ b/share/man/man4/man4.i386/apm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.4,v 1.2 1998/09/01 16:38:21 deraadt Exp $
+.\" $OpenBSD: apm.4,v 1.3 1999/02/23 04:18:54 marc Exp $
.\"
.\" Copyright (c) 1998 Marco S. Hyman
.\"
@@ -198,6 +198,17 @@ Power change event messages are suppressed.
Power change event messages are suppressed unless the estimated
battery life percentage changes.
.El
+.Pp
+However, in no case will power status messages be displayed until the
+battery life goes below the percentage in the
+.Xr sysctl 8
+state variable
+.Dv machdep.apmwarn .
+Setting
+.Dv machdep.apmwarn
+to zero disables all warnings regardless of the
+.Dv APM_IOC_PRN_CTL
+setting.
.El
.Sh FILES
.Bl -tag -width /dev/apmctl -compat