Using apm to enter suspend mode

If the apm service is running, the apm command lets you view information about your computer.s power management and put the computer in suspend mode (if it is supported on your laptop). Here are some examples of using the apm command:

# apm -m

Using the -m option, the apm command displays the number of minutes of battery life remaining (if that information is available). It may also give you information about the status of how the battery is charging and whether or not the laptop is currently plugged in.

# apm -s

The -s option of apm causes the laptop to enter suspend mode. You can start up the laptop again, in most cases, by pressing a key on the keyboard.

Comments are closed.