Questions tagged [pmset]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Suspend to disk

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
1answer
50 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
1answer
233 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
1answer
132 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
0answers
90 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
1answer
77 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
0answers
73 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
0answers
856 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 ...
2
votes
0answers
1k 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 ...
2
votes
1answer
474 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
2answers
21k 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
2answers
154 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
0answers
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
1answer
360 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 ...
17
votes
1answer
28k 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
0answers
260 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
1answer
1k 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
2answers
217 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
1answer
569 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
1answer
406 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
1answer
220 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
1answer
4k 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
1answer
383 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
1answer
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
1answer
760 views

Is there a keyboard shortcut for hibernate 25 on a macbookpro retina, 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
5answers
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
0answers
102 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
0answers
585 views

Remove assertion from pmset

The Viber app preventing my Mac from display sleep. pmset -g ...
4
votes
1answer
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
1answer
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
2answers
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 ...