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
19 .Nd control the APM BIOS and display its information
31 controls the Intel / Microsoft APM (Advanced Power Management) BIOS and
32 displays the current status of APM on laptop PCs.
34 The options are as follows:
35 .Bl -tag -width indent
37 Display the current AC-line status as an integer value.
39 0, 1 and 2 correspond to the
47 Display an integer value reflecting the current battery status.
48 The values 0, 1, 2, 3, correspond to the
58 Disable/enable suspending of the display separately from a normal suspend
59 using the boolean value for
61 This feature seems to not work on many different laptops,
62 including the Libretto 30CT and 50CT.
64 Enable or disable APM functions of the computer,
65 depending on the boolean
69 Depending on the boolean value of
71 enable or disable the HLT instruction in the kernel context switch routine.
72 These options are not necessary for almost all APM implementations,
73 but for some implementations whose
75 call executes both CPU clock slowdown and HLT instruction,
77 is necessary to prevent the system from reducing its peak performance.
82 Display the remaining battery percentage.
83 If your laptop does not
84 support this function, 255 is displayed.
86 Enable the resume wakeup timer, if the laptop supports it.
88 does not actually suspend the laptop, but if the laptop is suspended,
89 and it supports resume from suspend, then it will be resumed after
91 seconds (from when you run this command, not from when you suspend).
93 Display the status of the APM support as an integer value.
95 0 and 1 correspond to the
101 Display the estimated remaining battery lifetime in seconds.
103 it is unknown, -1 is displayed.
105 Transition the system into standby mode.
106 This mode uses less power than
107 full power mode, but more than suspend mode.
109 resuming from this state on timer or Ring Indicator events.
113 tells what your laptop claims to support.
120 If no options are specified,
122 displays information and current status of APM in verbose mode.
123 If multiple display options are given, the values are displayed one
124 per line in the order given here.
131 replaces all of its functionality.
136 .An Tatsumi Hosokawa Aq Mt hosokawa@jp.FreeBSD.org
138 Some APM implementations do not support parameters needed by
142 displays them as unknown.
144 Some APM implementations cannot handle events such as pushing the
145 power button or closing the cover.
146 On such implementations, the system