summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.macppc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-11-14 22:54:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-11-14 22:54:28 +0000
commit3c1b567342074ccdaa689f0d10e08caacd16e8a6 (patch)
treeb250d2b2d7e744716f3c73657db26a54bd1ebdaf /share/man/man4/man4.macppc
parent632f1b8c1a4756d18e50e65648ca63354aee1ce2 (diff)
Mention that the meaning of the battery_life variable in apm_power_info
structure depends of the battery_state value.
Diffstat (limited to 'share/man/man4/man4.macppc')
-rw-r--r--share/man/man4/man4.macppc/apm.415
1 files changed, 11 insertions, 4 deletions
diff --git a/share/man/man4/man4.macppc/apm.4 b/share/man/man4/man4.macppc/apm.4
index bd3db1c447a..ac830b71475 100644
--- a/share/man/man4/man4.macppc/apm.4
+++ b/share/man/man4/man4.macppc/apm.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: apm.4,v 1.2 2001/10/09 00:07:03 miod Exp $
+.\" $OpenBSD: apm.4,v 1.3 2001/11/14 22:54:27 miod Exp $
.\"
.\" Copyright (c) 1998 Marco S. Hyman
.\"
@@ -116,10 +116,17 @@ The
value contains the estimated percentage of battery life available.
100% indicates a full charge.
.Pp
-The
+If the battery is charging, i.e. when
+.Va battery_state
+is equal to
+.Dv APM_BATT_CHARGING ,
+the
+.Va battery_life
+value contains the estimated number of minutes until the battery will be
+fully charged.
+Otherwise, the
.Va minutes_left
-value contains the estimated number of minutes of battery life
-remaining.
+value contains the estimated number of minutes of battery life remaining.
.It Dv APM_IOC_NEXTEVENT
.Em NOT YET SUPPORTED on macppc
.Pq Li "struct apm_event_info"