Disable Advanced power management (APM) on Linux

www.laut‮irut‬.com
Disable Advanced power management (APM) on Linux

Advanced power management (APM) is a feature in Linux that allows the operating system to control power management functions on the computer, such as suspending or shutting down the system when it is not in use. If you want to disable APM on your Linux system, you can follow these steps:

  1. Edit the APM configuration file: The APM configuration file is typically located at /etc/apm/event. You can edit this file to disable APM by adding the following line to the file:
APM_IGNORE_USER_SUSPEND=1

This will prevent the APM daemon from suspending the system when it receives a user-initiated suspend request.

  1. Disable the APM daemon: You can disable the APM daemon by stopping it and preventing it from starting at boot time. To stop the APM daemon, run the following command:
systemctl stop apmd

To prevent the APM daemon from starting at boot time, run the following command:

systemctl disable apmd
  1. Disable APM in the kernel: You can also disable APM support in the Linux kernel by modifying the kernel configuration. To do this, you will need to rebuild the kernel with the APM support disabled.
Created Time:2017-10-28 14:02:27  Author:lautturi