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:
/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.
systemctl stop apmd
To prevent the APM daemon from starting at boot time, run the following command:
systemctl disable apmd