3 apm \- Advanced Power Management 1.2 BIOS interface
29 an interface to the APM 1.2 BIOS
33 (the default is to try
39 is specified, the interface will be
44 The directory contains the following files.
47 Contains one line for each battery in the system.
48 Each line lists three fields: the status (a string, one of
55 the percent charge remaining, and
56 an estimate of the amount of time left in seconds.
57 If either or both of the last two are unknown,
58 the corresponding field will be zero.
63 file is used to set power management modes for
64 various parts of the system.
65 Control messages are of the form
66 .RI `` device " " verb ,''
88 control whether power management is active
91 puts the device into standby mode
94 brings it back to full power.
97 Reads from this file will block until an APM event
99 A large enough read is guaranteed to return
100 an integral number of textual event descriptions, one per line.
102 .B /sys/src/cmd/aux/apm.c
110 should be supported but doing so requires
111 nontrivial help from the kernel.