How to disable suspend or hibernate from command line in RHEL 7 and later

Solution Verified - Updated -

Issue

  • User wants to prevent the system from going to suspend or hybernate state

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8, 9, 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content