summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apm/apm.8
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-09-04 16:08:54 +0000
committerimp <imp@FreeBSD.org>1998-09-04 16:08:54 +0000
commit099f92f50dfc6d5ada42f8465e4d198514a13c0f (patch)
tree7d1d55e7f0c118fcaea2f2c779797a9b17e2a49f /usr.sbin/apm/apm.8
parent2d03d4a5b51c8f9ba4d9c86b8336fd1ea2faef0b (diff)
downloadFreeBSD-src-099f92f50dfc6d5ada42f8465e4d198514a13c0f.zip
FreeBSD-src-099f92f50dfc6d5ada42f8465e4d198514a13c0f.tar.gz
o Enable standby mode in apm utility. You need a newer kernel for this
functionality to work (however, the kernel changes were committed to current at 1998/07/05 23:29:11 PDT). o Enable setting of a timer for later wakeup. Note, not all APM BIOSes support this for all modes (mine doesn't support waking up on a timer from standby mode). o Print out the APM capabilities, as reported by the BIOS. o Report wake on ring indication. No way to enable/disable this, but it is reported. o update man page with above o The output of this command has changed, so if you have a script that parses its output, then you may need to rewrite it slightly. o The code attempts to deal with older kernels than July 5, 1998, but that part of the code isn't well tested.
Diffstat (limited to 'usr.sbin/apm/apm.8')
-rw-r--r--usr.sbin/apm/apm.817
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.sbin/apm/apm.8 b/usr.sbin/apm/apm.8
index 240671f..81b9234 100644
--- a/usr.sbin/apm/apm.8
+++ b/usr.sbin/apm/apm.8
@@ -16,8 +16,9 @@
.Nd control the APM BIOS and display its information
.Sh SYNOPSIS
.Nm apm
-.Op Fl ablstz
+.Op Fl ablstzZ
.Op Fl d Ar 1|0
+.Op Fl r Ar delta
.Pp
.Nm zzz
.Sh DESCRIPTION
@@ -62,10 +63,17 @@ using the values
.Ar 1
or
.Ar 0
-respectively.
+respectively. This argument seems to not work on many different
+laptops, including the Libretto 30CT and 50CT.
.It Fl l
Display the remaining battery percentage. If your laptop does not
support this function, 255 is displayed.
+.It Fl r
+Enable the resume wakeup timer, if the laptop supports it. This
+doesn't actually suspend the laptop, but if the laptop is suspended,
+and it supports resume from suspend, then it will be resume after
+.Ar delta
+seconds (from when you run this command, not from when you suspend).
.It Fl s
Display the status of the APM support as an integer value. The values
0 and 1 correspond to the
@@ -76,6 +84,11 @@ state respectively.
.It Fl t
Display the estimated remaining battery lifetime in seconds. If
it is unknown, -1 is displayed.
+.It Fl Z
+Transition the system into standby mode. This mode uses less power than
+full power mode, but more than suspend mode. Some laptops support
+resuming from this state on timer or Ring Indicator events. The
+output of apm tells what your laptop claims to support.
.It Fl z
Suspend the system. It is equivalent to
.Nm zzz .
OpenPOWER on IntegriCloud