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:
SleepDisabledis 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.- Something re-applies it. A launch item, script or helper that outlived the apps sets it again after a restart or when power changes.
- Another process holds a sleep assertion. A browser playing video, a download, a call, or a stray
caffeinateprocess can block idle sleep with no connection to Amphetamine. - Lid and display setup. A MacBook on power with an external display stays awake with the lid closed by design.
- 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
- Open Terminal (in Applications > Utilities).
- Run:
pmset -gThis 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
- Run this. It sets
disablesleepto 0 for all power sources. macOS asks for your admin password, and the characters don't show as you type.
sudo pmset -a disablesleep 0- Run
pmset -gagain and confirmSleepDisabledis0or gone. - 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.
- List the places launch items live:
ls ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemonsIf a folder doesn't exist, ls reports an error for it. That's fine.
- Look for anything with "amphetamine" or "enhancer" in the name, or anything you don't recognize.
- Read a suspect file, replacing the name with the real one:
plutil -p ~/Library/LaunchAgents/your-file-name.plistThis 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:
sudo ls /etc/sudoers.dRule out other sleep blockers
If SleepDisabled was already 0, another process is probably holding the Mac awake.
Read the assertions
pmset -g assertionsEntries such as PreventUserIdleSystemSleep or PreventUserIdleDisplaySleep name the process holding them. Quit that app.
Look for a stray caffeinate
pgrep -l caffeinateAnything 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 see | Likely cause | Fix |
|---|---|---|
SleepDisabled 1 | Leftover closed-display setting | sudo pmset -a disablesleep 0 |
SleepDisabled returns to 1 | Leftover launch item or script | Remove it, restart, reset again |
App named in pmset -g assertions | That app blocks idle sleep | Quit or reconfigure it |
A caffeinate process | Script or terminal session | Quit it |
| Sleeps, then wakes | Scheduled wake or device | pmset -g sched |
Checklist before you try again
pmset -gshowsSleepDisabledas 0 or absent.- No leftover Amphetamine or Enhancer items in the three launch folders or Login Items.
pmset -g assertionsshows nothing you need to quit.pgrep -l caffeinateprints nothing.- You restarted once and checked
pmset -gagain.
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.
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.