Skip to content
86% off$349 $48.86code BF2026

Guides

Mac Won't Sleep After Uninstalling Amphetamine Enhancer

Deleted Amphetamine and its Enhancer but your Mac still won't sleep? Check pmset for SleepDisabled, find leftover launch items, and rule out other blockers.

GuideUpdated 6 min read

On this page

You deleted Amphetamine and the Amphetamine Enhancer, maybe even ran sudo pmset disablesleep 0, and the Mac still never goes to sleep. People report exactly this pattern: they gave a helper script permission, removed both apps, and the Mac stayed awake. Others describe losing the ability to put a laptop to sleep after using closed-display tools, and a battery-drain report raised the same suspicion that sleep was simply still disabled.

Why the Mac still won't sleep

Most to least common:

  1. SleepDisabled is still set. Closed-display tools work by switching a system-wide power setting. That setting lives in the system, not in the app, so removing the app leaves it as it was.
  2. Something re-applies it. A launch item, script or helper that outlived the apps sets it again after a restart or when power changes.
  3. Another process holds a sleep assertion. A browser playing video, a download, a call, or a stray caffeinate process can block idle sleep with no connection to Amphetamine.
  4. Lid and display setup. A MacBook on power with an external display stays awake with the lid closed by design.
  5. A scheduled wake. The Mac sleeps but something wakes it again, which feels like "won't sleep".

We can't tell from Amphetamine's documentation exactly which files the Enhancer or its optional Power Protect fix put on your Mac, so check by name and by content rather than assuming.

Check whether sleep is disabled

  1. Open Terminal (in Applications > Utilities).
  2. Run:
bash
pmset -g

This prints your current power settings. Look for a line starting with SleepDisabled. A value of 1 means sleep is off system-wide, which matches your symptom. If the line is missing or shows 0, skip to "Rule out other sleep blockers".

Turn sleep back on

  1. Run this. It sets disablesleep to 0 for all power sources. macOS asks for your admin password, and the characters don't show as you type.
bash
sudo pmset -a disablesleep 0
  1. Run pmset -g again and confirm SleepDisabled is 0 or gone.
  2. Let the Mac idle, or choose Apple menu > Sleep to test it.

To undo, sudo pmset -a disablesleep 1 turns sleep off again. Run that only if you deliberately want a Mac that never sleeps.

If the setting comes back: look for leftover scripts

If SleepDisabled returns to 1 after a restart or after a few minutes, something is setting it again.

As of November 2026, Amphetamine's own README says closed-display mode may fail after plugging in or unplugging power on Apple silicon, and its official fix is a separate manual install called Power Protect, which involves a script plus a sudoers file. The Enhancer's repository also looks inactive, so leftovers are plausible.

  1. List the places launch items live:
bash
ls ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons

If a folder doesn't exist, ls reports an error for it. That's fine.

  1. Look for anything with "amphetamine" or "enhancer" in the name, or anything you don't recognize.
  2. Read a suspect file, replacing the name with the real one:
bash
plutil -p ~/Library/LaunchAgents/your-file-name.plist

This only reads the file. Check ProgramArguments. If it points to a script, open that script and see whether it calls pmset. 4. Only if it clearly belongs to the apps you deleted: quit any related app, move the .plist to the Trash and restart. Files in /Library/LaunchDaemons need your admin password to remove. 5. Run sudo pmset -a disablesleep 0 again, then pmset -g to confirm it stays at 0 after the restart. 6. Open System Settings and search for "Login Items". Remove entries for the deleted apps.

If you installed Power Protect, you can see what's in the sudoers folder:

bash
sudo ls /etc/sudoers.d

Rule out other sleep blockers

If SleepDisabled was already 0, another process is probably holding the Mac awake.

Read the assertions

bash
pmset -g assertions

Entries such as PreventUserIdleSystemSleep or PreventUserIdleDisplaySleep name the process holding them. Quit that app.

Look for a stray caffeinate

bash
pgrep -l caffeinate

Anything listed is a running caffeinate process. Quit the terminal session or script that started it, or end it with killall caffeinate.

Check the lid setup

A MacBook on power with an external display stays awake with the lid closed. See clamshell mode on Mac.

Check scheduled wakes

If the Mac sleeps but wakes by itself, run pmset -g sched to list scheduled power events.

What you seeLikely causeFix
SleepDisabled 1Leftover closed-display settingsudo pmset -a disablesleep 0
SleepDisabled returns to 1Leftover launch item or scriptRemove it, restart, reset again
App named in pmset -g assertionsThat app blocks idle sleepQuit or reconfigure it
A caffeinate processScript or terminal sessionQuit it
Sleeps, then wakesScheduled wake or devicepmset -g sched

Checklist before you try again

  • pmset -g shows SleepDisabled as 0 or absent.
  • No leftover Amphetamine or Enhancer items in the three launch folders or Login Items.
  • pmset -g assertions shows nothing you need to quit.
  • pgrep -l caffeinate prints nothing.
  • You restarted once and checked pmset -g again.

If nothing works

Contact Apple Support, since the setting is part of macOS power management. Include the output of pmset -g and pmset -g assertions, your macOS version, whether the Mac is a laptop, and the steps above.

text
My Mac will not go to sleep after I removed Amphetamine and Amphetamine Enhancer.
pmset -g shows SleepDisabled 0 (or is missing the line), I ran
sudo pmset -a disablesleep 0, checked LaunchAgents/LaunchDaemons and Login Items,
and restarted. pmset -g assertions output is attached. macOS version: [your version].
What else can hold the Mac awake?

Where Glowmoth fits (and where it doesn't)

You don't need Glowmoth for this. The pmset command is the fix. Glowmoth can't clear a SleepDisabled another tool left behind: its closed-lid helper only undoes a setting it set itself, and if sleep was disabled with pmset outside Glowmoth it leaves that alone and shows "Sleep is already turned off with pmset, outside Glowmoth."

It does help with diagnosis. The panel's Show More section has an "Also Keeping This Mac Awake" list that reads the same data as pmset -g assertions and names apps and purposes such as "playing video" or "caffeinate". It does not show a leftover SleepDisabled, so use pmset -g for that. See the explainer doc and the Glowmoth page.

If you later want a laptop awake with the lid closed, Glowmoth's optional closed-lid mode runs pmset -a disablesleep 1 only while it is keeping the Mac awake and 0 when that ends, with a 30-second lease so sleep returns within 30 seconds if Glowmoth stops. Hardware verification of that helper is still pending as of November 2026, so weigh that. Details are in the closed-lid doc.

Common questions

Does deleting an app reset pmset settings?

No. disablesleep is a system-wide power setting and stays as it was left until something changes it.

Is sudo pmset -a disablesleep 0 safe?

Yes. It only turns normal sleep back on and doesn't touch security settings.

My Mac sleeps but wakes immediately. Is that the same problem?

Probably not. Run pmset -g assertions and pmset -g sched, and see Mac won't sleep? Find what's keeping it awake.

Every app.
One purchase.