1 .\" LP (Laptop Package)
3 .\" Copyright (c) 1994 by Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
5 .\" This software may be used, modified, copied, and distributed, in
6 .\" both source and binary form provided that the above copyright and
7 .\" these terms are retained. Under no circumstances is the author
8 .\" responsible for the proper functioning of this software, nor does
9 .\" the author assume any responsibility for damages incurred with its
17 .Nd control the APM BIOS and display its information
29 controls the Intel / Microsoft APM (Advanced Power Management) BIOS and
30 displays the current status of APM on laptop PCs.
32 The options are as follows:
33 .Bl -tag -width indent
35 Display the current AC-line status as an integer value.
37 0, 1 and 2 correspond to the
45 Display an integer value reflecting the current battery status.
46 The values 0, 1, 2, 3, correspond to the
56 Disable/enable suspending of the display separately from a normal suspend
57 using the boolean value for
59 This feature seems to not work on many different laptops,
60 including the Libretto 30CT and 50CT.
62 Enable or disable APM functions of the computer,
63 depending on the boolean
67 Depending on the boolean value of
69 enable or disable the HLT instruction in the kernel context switch routine.
70 These options are not necessary for almost all APM implementations,
71 but for some implementations whose
73 call executes both CPU clock slowdown and HLT instruction,
75 is necessary to prevent the system from reducing its peak performance.
80 Display the remaining battery percentage.
81 If your laptop does not
82 support this function, 255 is displayed.
84 Enable the resume wakeup timer, if the laptop supports it.
86 does not actually suspend the laptop, but if the laptop is suspended,
87 and it supports resume from suspend, then it will be resumed after
89 seconds (from when you run this command, not from when you suspend).
91 Display the status of the APM support as an integer value.
93 0 and 1 correspond to the
99 Display the estimated remaining battery lifetime in seconds.
101 it is unknown, -1 is displayed.
103 Transition the system into standby mode.
104 This mode uses less power than
105 full power mode, but more than suspend mode.
107 resuming from this state on timer or Ring Indicator events.
111 tells what your laptop claims to support.
118 If no options are specified,
120 displays information and current status of APM in verbose mode.
121 If multiple display options are given, the values are displayed one
122 per line in the order given here.
129 replaces all of its functionality.
134 .An Tatsumi Hosokawa Aq Mt hosokawa@jp.FreeBSD.org
136 Some APM implementations do not support parameters needed by
140 displays them as unknown.
142 Some APM implementations cannot handle events such as pushing the
143 power button or closing the cover.
144 On such implementations, the system