How to Keep Your MacBook Turned Off When Opening the Lid: A Fun and Detailed Guide

How to Keep Your MacBook Turned Off When Opening the Lid: A Fun and Detailed Guide

aop3d tech

Terminal Hack: Keep Your MacBook Lid Asleep 💻

Tired of your laptop waking up every time you open the lid? We’ll explore a clever Terminal command to keep your MacBook turned off when you lift that lid. Let’s dive into the matrix!

🔋 Save Battery
⌨️ Prevent Accidental Inputs
🕵️ Enhance Privacy
user@macbook:~ - bash
# Step 1: Open Terminal (Finder > Applications > Utilities > Terminal)
# Step 2: Enter the following command to disable lid-wake
~ % sudo pmset -a lidwake 0
# Step 3: Enter your admin password (characters will be invisible)
# Step 4: Close your MacBook, wait, and open it. It will stay off!
# REVERSE: Want instant access back? Use this command:
~ % sudo pmset -a lidwake 1

Pro Tip: If you don’t want to completely turn off your MacBook but still want to save battery, ensure unused applications are closed before shutting the lid. Technology is here to serve us—let's make sure it does exactly what we want!

Want more advanced macOS terminal hacks? Join the newsletter:
Back to blog