How Do I Put Linux in Sleep Mode?
Contents

How do I put Linux to sleep?

Linux: Command to Shutdown / Restart / Sleep

  1. Shutdown: shutdown -P 0.
  2. Restart: shutdown -r 0.

How do I put Ubuntu in sleep mode?

Set up automatic suspend

  1. Open the Activities overview and start typing Power.
  2. Click Power to open the panel.
  3. In the Suspend & Power Button section, click Automatic suspend.
  4. Choose On Battery Power or Plugged In, set the switch to on, and select a Delay. Both options can be configured.
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest