Questions tagged [pmset]
The pmset tag has no usage guidance.
41
questions
1
vote
0
answers
32
views
MacBook Pro 16" 2019 doesn't enter standby mode
After updating to macOS Sonoma my MacBook Pro 16" 2019 doesn't enter standby mode even at night after more than 10 hours of being closed.
pmset -g assertions shows the following:
2023-10-01 09:28:...
1
vote
0
answers
20
views
Schedule on and skip login screen
I'm trying to schedule my Mac Mini to automatically turn off at the end of the day and then turn back on the next morning, login, and then run an AppleScript.
This was all working fine in Monterey ...
3
votes
1
answer
100
views
pmset: Error 0xe00002bc
I've recently started getting this error when running any of these commands on my iMac (macOS Ventura 13.5.2 (22G91)):
sudo pmset sched cancelall
pmset: Error 0xe00002bc scheduling repeating events
...
1
vote
0
answers
20
views
Computer sleeping immediately after screen despite being set to sleep later
My current pmset -g is the following:
System-wide power settings:
Currently in use:
lidwake 1
autopoweroff 1
standbydelayhigh 86400
autopoweroffdelay 259200
...
0
votes
2
answers
760
views
How exactly could these commands to use MacBook in Clamshell Mode without a Power Adapter be dangerous? And how to revert them eventually?
I am trying use my macbook with an external device in Clamshell Mode without the power adapter. Hence, I am following this tutorial.
The author gives, first, a GUI approach. Then, he suggests the ...
1
vote
1
answer
179
views
pmset wake ignores minutes settings
I am trying to schedule a Crontab job for, say, Monday at 12:59, even when my Mac is sleeping. To achieve this I use pmset repeat wake M 12:58:55 to wake up my Mac 5 seconds before the job.
The first ...
1
vote
0
answers
217
views
Wake up and shut down - What is the difference between repeat and scheduled?
Unfortunately, Ventura doesn't support the GUI for poweron/poweroff.
I want my Mac to startup on Sunday 04:00. So I enter
sudo pmset repeat wakeorpoweron U 04:00:00
Then
sudo pmset sched -g
shows ...
0
votes
1
answer
192
views
Why some commands do NOT require sudo when logged in GUI?
I created a user called dummy.
I login using Terminal into dummy and try to put Mac to sleep using pmset sleepnow. It does NOT work: Sleep error 0xe00002c1; You must run this as root..
I log into ...
1
vote
0
answers
2k
views
Is "pmset hibernatemode 25" still broken in Monterey?
I executed pmset hibernatemode 25 on my Macbook Pro 16" (Intel) running MacOS Monterey but it didn't seem to work. Searching here revealed several similar questions for
High Sierra
Catalina
...
1
vote
0
answers
209
views
Why does `pmset -g thermlog` behave so strangely when piped?
I'm trying to create some monitoring for the thermal throttling during some build operations. For that I'd wanted to make use of pmset -g thermlog, which works great when used directly in the console, ...
2
votes
1
answer
136
views
Suspend to disk - aka Apple Save Sleep - doesn't work in Big Sur
Since installing Big Sur on my MacBook Air 2014, I noticed that suspend to disk doesn't seem to work anymore. Suspend to disk (or Safe Sleep as Apple calls it) should be activated after an hour into ...
3
votes
1
answer
1k
views
Difference between wake, poweron, and wakeorpoweron on pmset
I'm trying to use pmset to wake my macbook before a cronjob is scheduled. The documentation says a scheduled event has a type that is "one of sleep, wake, poweron, shutdown, wakeorpoweron". ...
3
votes
1
answer
745
views
Where are the pmset settings saved?
In which path exactly are the pmset settings saved? The manpage says it's stored here. However, I couldn't find any settings there.
The macOS Energy Saver preference file is stored
at:
/Library/...
2
votes
1
answer
145
views
Disconnect removable media from power
I connected peripherals to my Mac via USB. When I put my Mac to sleep, the external microphone, for example, is still supplied with power.
Is there any way that once the Mac goes to sleep, that it ...
0
votes
0
answers
248
views
iMac11,1: sleep issues: would wake up on its own and restart, still wakes up even when manually put to sleep with hibernatemode 25 [macOS 10.11]
I have done a fresh install of El Capitan on the iMac (11,1), after replacing the HDD with an SSD. Previously it was running Mavericks with no problems, but it was getting slow and dated. One thing to ...
1
vote
1
answer
107
views
Mac Mini Sleeping When Idle
We are having some issues with 2 Mac minis running Mojave. They go to sleep after a couple of minutes the user logs out.
We tried playing with the pmset settings without luck
Here are my current ...
0
votes
0
answers
116
views
macOS doesn't sleep when password is required 15 minutes after screensaver starts
I run macOS Mojave 10.14.6 on a MacBook Pro (Retina, 15-inch, Early 2013). Except when specified, all settings and behaviours described in this post refer to the Mac connected to a power adapter.
My ...
2
votes
0
answers
1k
views
why "lidwake: 0" does not work?
I have MacBook Pro (Retina, 13-inch, Mid 2014) and OS: 10.13.6
My pmset outputs:
$ pmset -g
System-wide power settings:
Currently in use:
standbydelay 10800
standby 1
womp ...
3
votes
0
answers
3k
views
If I have set `disksleep` to 0 in pmset, will my disk go to sleep when I close the lid?
I have MacBook Pro (Retina, 13-inch, Mid 2014) and OS: 10.13.6
My pmset outputs:
$ pmset -g
System-wide power settings:
Currently in use:
standbydelay 10800
standby 1
womp ...
3
votes
1
answer
612
views
Troubleshooting a mac that won't go to sleep
I have a small issue where my macbook won't go to sleep on lid-closing when it's connected to a power supply. I remember having this problem a few weeks ago, and I found this command that could help ...
7
votes
2
answers
27k
views
Removing the sleepimage file in /var/vm in macOS permanently
I run high sierra, and the large private/var/vm/sleepimage file has been bothering me. My computer has 16 GB of ram, which means sleepimage takes up 16 GB on my drive. I have read tutorials on how to ...
3
votes
2
answers
242
views
Why does macOS estimate battery percentage higher?
Why do you think the OS estimates a battery percentage a little above the actual value? I noticed it is always between 0% and 5% more. In particular the two percentage gets closer when the remaining ...
1
vote
0
answers
1k
views
Get MacBopok Pro to just SLEEP the normal way
I've read practically every question and answer I can find that mention the pmset command, after I discovered it was behind the most frustrating thing about my new MacBook Pro.
I say MY MacBook Pro, ...
1
vote
1
answer
411
views
MBP 15" not sleeping when closing lid
My MBP 15" (end 2016) on macOS Sierra 10.12.6 have a strange behaviour when I close the lid. It goes to sleep (I hear the fans becoming quiet) but after ~20 seconds it returns to work and then the ...
23
votes
1
answer
33k
views
Significance of IODisplayWrangler in power management assertions
When I check my power management assertions (MacBook Pro running macOS Sierra), I see the following line:
$ sudo pmset -g assertions
...
Idle sleep preventers: IODisplayWrangler
What is ...
0
votes
0
answers
360
views
MacBook Pro: lidwake value ignored?
I have a Mid-2014 Macbook Pro Retina running OS X 10.5.5. Unfortunately, I dropped it one too many times, and one of the display hinges has become very stiff. In fact, if I close the lid and then let ...
2
votes
1
answer
2k
views
Speed up sleep (disable com.apple.powermanagement.darkwakelinger)
From terminal I see that PreventUserIdleSystemSleep assertion takes 15 second before actually sleep. Is there any way to eliminate it, or at least set delay to 0/1 sec?
2017-06-09 23:36:15 +0500 ...
1
vote
2
answers
341
views
Disable sleep when nobody is logged in to MacBook [duplicate]
I am running a /Library/LaunchDaemons service at boot time - nobody is logged in. I want the computer to not sleep. Here's my pmset -g on macOS Sierra 10.12.4:
System-wide power settings:
Currently ...
3
votes
1
answer
974
views
Does "pmset schedule wake" work when the lid is closed at the designated time?
I am using Air, which is in the sleep mode almost all day. I want to have it run a shell script every morning, so I set my Air to wake up at 7:00 using "pmset" command and run the script at 7:01 using ...
0
votes
1
answer
577
views
Increase the time of the pmset countdown
Is there a way to change the delay time until a scheduled sleep/restart/shutdown occurs? It starts at 10 minutes (10:00), but I want to change it to 30 minutes (30:00).
As you can see above, the ...
2
votes
1
answer
383
views
How to verify if pmset works correctly?
Is there any log, where I can see what pmset did and when?
I am thinking about scheduling my macbook power on and the power off and scheduling some job in between to see if it worked, but is there ...
7
votes
1
answer
5k
views
What is "Entering Sleep state due to 'Dark Wake Thermal Emergency'" from pmset log?
Command:
pmset -g log|grep -e " Sleep " -e " Wake "
Last night I see 5 instances of
Entering Sleep state due to 'Dark Wake Thermal Emergency': Using AC
1
vote
1
answer
406
views
My iMac reboots to the login screen in the middle of the night, after enabling FileVault
I have a 5K iMac, late 2015, running El Capitan.
Two days ago, I enabled FileFault. After that, when I wake up, I find that the machine has rebooted to the login screen, showing me icons for all ...
2
votes
1
answer
2k
views
How can you make a Mac (2015 Yosemite) hibernate? (Hibernate like Windows PC, ie. save state to disk and fully power down) [duplicate]
Please note: Whilst the older question (4 years ago) Do MacBooks have a true "Hibernate" option? has answers that show a hibernate option exists for Macs, it doesn't detail how to make your ...
1
vote
1
answer
1k
views
Is there a keyboard shortcut for hibernate now a Mac, without changing power settings?
Question Details:
Is it possible to make your macbookpro retina (2015) to hibernate (hibernate mode 25 i.e. fully powered off) via a shortcut? I still want it to go to sleep (the usual default ...
2
votes
5
answers
3k
views
Change in sleep behaviour on MacBook Pro and ignoring settings on Yosemite
Recently (possibly since the 10.10.5 upgrade, but not sure) my MacBook Pro mid 2012 (non-retina) changed its sleeping behavior and I cannot seem to restore it. For years, I used a 48 hour hibernate ...
1
vote
0
answers
135
views
How to modify the display sleep and sleep together again?
I'm using pmset to set battery-power sleep time independently of display sleep time on my 2014 15" MacBook retina. Before I did that, these values were in lock step when you changed the "turn off ...
1
vote
0
answers
731
views
Remove assertion from pmset
The Viber app preventing my Mac from display sleep.
pmset -g ...
4
votes
1
answer
6k
views
What keeps waking my Mac up from sleep?
My Mac constantly wakes itself up from sleep for apparently no reason. Middle of the night, middle of that day, it just can't stay asleep. Why? I ran pmset with the following results:
[redacted]:~ [...
1
vote
1
answer
1k
views
iTunes, even when not playing, keeping my computer from sleeping automatically
I'm using the default Energy Save preferences on a MBPro running Mavericks. If iTunes is running, my computer will not go to sleep automatically even if iTunes is not playing (e.g., if I stop it by ...
1
vote
2
answers
2k
views
How do I force my MacBook Air into "hibernation" mode?
I have a MacBookAir3,2 (late 2010) running 10.9.3.
I want to be able to force the machine to immediately go into "hibernation" mode, but it seems impossible.
The usual answer that I have seen is ...