I have these settings on my MacBook with Catalina:  System-wide power settings:  Currently in use:  standbydelaylow      10800  standby              1  womp                 1  halfdim              1  hibernatefile        /var/vm/sleepimage  proximitywake        1  powernap             1  gpuswitch            2  networkoversleep     0  disksleep            10  standbydelayhigh     86400  sleep                5  hibernatemode        3  ttyskeepawake        1  displaysleep         5  tcpkeepalive         1  highstandbythreshold 50  acwake               0  lidwake              1   and what I want to achieve is to enter hibernation after an amount of time of "sleep" (after sleeping for 15 minutes for example), like some Linux distro do. I'm new to macOS and what I know is that hibernatemode 3 means      The system will wake from memory, unless a power loss forces it to restore from hibernate image.   but I  think I need to leave hibernatemode 3 and change standbydelaylow and standbydelayhigh values. Am i correct? These settings are for ac and battery mode or I need to change for these different states? And closing the lid the MacBook goes to sleep immediately?
58806
I've recently switched from Windows to a MacBook pro. In Windows, there are the following shutdown options:   Standby - the machine goes into a "light sleep" from which it can awaken very quickly (like, in a few seconds), but plenty of energy is consumed. Hibernate - the OS dumps the current system state (including the contents of the RAM) to a file, then turns the machine off. Wakeup takes longer than from standby, but there is no latent energy consumption.  Shut down - the OS shuts down, and the machine is turned off.    In OS X, what I can see is   Sleep - seems equivalent to standby, or an even lighter form of sleep as Mail seems to even continue to poll for new email?  Shutdown and restore all apps on next start - turns off machine, seems to start the OS from scratch and restart alls apps - from what I can tell, it's not hibernation Shutdown and don't restore apps - shut down   is this correct, and does OS X not have a true "hibernate" mode that can write its state to disk? Because that's what I'm looking for really. There's talk of a "Safe Sleep" mode on the Internets, but I can't see it in my OS X menu. Is it hidden in 10.7?
54869
After clicking sleep or hibernate in Windows 7, my computer loads for a while and then goes into sleep mode, but not 1 second later it powers back up. The event log has no errors and no warnings appear when it comes back out of sleep/hibernation.  Here's my system specifications:    Windows 7   I believe this is all that's relevant. I've installed the latest chipset drivers, but I'm unable to update my BIOS (but this is another matter; maybe because the motherboard in the  is different).  I've also tried turning off the "Allow this device to wake up my computer" for the network card, keyboard, and mouse -- but this makes no difference.  If flashing the BIOS is the only thing that will fix this, then I will create a new question to this effect.  Maybe I should change the suspend mode from S3 to S1?
89666
First and foremost I want to know how long my laptop (unix, apple, OSX 10.9 mavericks) has been 'awake' (i.e. how long its been open, or since it last 'slept').  I' also be interested in how long since the last restart, and time since the last shutdown (if those two things can be differentiated).  I've tried the who and w commands, which seem to show me time for the whole system, and for individual processes (terminals?) since the system last restarted.  Is there a way to tell how long the system has been awake, explicitly? Does the reported process times include sleep-time (i.e. when my laptop is closed)? Is there a way to distinguish between restart and shutdown?
99052
I have found contradictory opinions on this. Some say Windows users tend to shut down but that it is not necessary, and I tend to do that too. Others say it is preferable to shut down, as it does not take too much time to boot anyway, and that in this way the battery is protected. While others say that it is in fact better not to shut down to often, including for the battery, etc. An interesting opinion - cannot find the link for that now - was that shutting down / restarting serves no purpose for Macs, except when that is needed after installing or upgrading applications or the system, unlike in Windows, where shutting down was (is?) very important. Also, that Macs do periodical system maintenance work during operation and even sleep, which eliminates the need for restart; possibly restarting would even come against all this, etc., and &quot;not shutting down&quot; is in fact a typical differentiating Mac feature. Is this true? I need a competent opinion on this - not just a description of the most common use - preferably reflecting some advice from the manufacturer. I have a Macbook Air.   Update after answer: Although I got , a crucial point in it (that the system has to be shut down, but only from time to time) is not yet clear: how often should I shut down the system. So, I will bring my question down to this formula. As pointed out by that answer, my question cannot be answered in relation to a tangible benefit for the system, but rather in relation to the battery life. So, I guess this last point can be answered by some information on how how is battery life dependent on how often the system is shut down.
48677
I'm new to the world of Apple, I bought a new Macbook Pro, mid-2020, Intel i7, 16GB RAM. I'm a developer, I run apps like VS Code, Sublime Text, Slack, Chrome (Multiple Windows), I play videos/songs in the background. I have been keeping a track of the energy consumption on my Mac, and it only runs for 4 hours. I have reset my SMC after I upgraded to Big Sur. Is 4 hours normal? or should I go to the service center? Update on 3 Feb 2021: I submitted my Mac to the Apple service center they said they conducted a few tests and the conclusion was that the battery is fine (I don't know what type of test they did). So I guess I'll be using it on AC Update on 12 Feb 2021: Took it to the service center, they didn't find any issues so I started using Safari for work and my battery has improved by 1 hour on Average.
48961
Logout, Restart and Shutdown are all self explanatory to me.   What are the differences between Suspend and Hibernate on the shutdown menu?
20431
Every time I close the lid of my Macbook Air, it turns off and I have to manually start it later when I open the lid again.  It also doesn't persist some of my settings such as volume level, desktop layouts (order of screens and which applications are full screened), and command line PATH changes such nvm's currently used node version.  Kind of a "you don't know what you don't know" situation. I'm not sure what to terms to use to search for this kind of behavior.  Edit: Adding some extra information as requested. I am on the following:   13-inch Macbook Air from Early 2014 Mac OS X El Capitan (10.11.6)   In System Preferences > Energy Saver > Battery, I have "Put hard disks to sleep when possible" checked and "Enable Power Nap while on battery power" unchecked.  I've looked through other potentially relevant areas of System Preferences and haven't found anything that works. I've done some Googling, but haven't found anything that is related and I'm unsure of what other terms I could use to search.  Edit 2: The issue seems to have been resolved. There's nothing in particular that I tried that worked, but it's resolved now. Thanks for reading and responding!
56466
Windows 8 Professional 32-bit running on Laptop. And the Hibernation option is missing from the Power Options in the System Settings. Even after I enable hidden power features by giving admin privileges.  How can I fix this?    Also the option to enable hibernation is missing from the advanced power plan options.      SOLUTION UPDATE:  Thanks to  I have found that you need to enable hibernation using a command prompt.   Get to the Start menu, type 'CMD' this will begin the search. Press the CTRL+SHIFT+ENTER to start the command prompt with administrative privileges. Type powercfg -h on and press enter
67512
I have a need to turn USB power off (and on) using a script or a piece of software. Ideally it should be possible to turn each port off/on separately, but also turning power off/on from all ports at once is sufficient. The machine I am using is Mac Mini. Anyone has a solution for this?  By USB power I mean Vbus, the 5V/500mA connection. I understand that the data connection is also turned down and it is fine, but it is not enough for me that the data connection is down and Vbus remains powered. This need comes from the need to keep mobile phones constantly connected for automatic testing. Some device/battery combinations do not like to be constantly connected and batteries start swelling in less than a year.  I recognize that multiple variations of this question are around. So far no solution that I could use. I'll list here my findings so far:   it is possible to accomplish this by using external self powered USB HUB and controlling it's power. However, this is not an option for me (even quality hubs have caused other problems in my use). it is possible to disable USB by removing .kext files. Among other sources it is explained in OS X . However this requires reboot and I am not sure if it really disables USB power or just data. there are many claims that it just is not possible. However, OS X itself does it when it detects a device that consumes too much power, so there is at least hardware support. This error message is copied from /System/Library/Extension/IOUSBFamily.kext/Contents/Resources/English.lproj/Localizable.strings: "Unplug the device using too much power to re-enable USB devices." (of course I don't know if the disabling is done by turning off USB power, but I would assume it is natural action for the device that consumes too much of it).  it seems that on macbook the USB ports are normally powered even when the laptop is sleeping. While  is not solving my issue, it is kind of related.   The reason why I need this is that I have a test system where multiple devices are plugged in to a mac mini. The devices also charge over USB. It has turned out that if the device is connected all the time to a charger, it's battery is swollen in about a year, which makes the device unusable, insecure and potentially dangerous. Turning the power off when not needed, would significantly extend devices life.
22247
My 2008 iMac/10.10.5 has recently refused to sleep... either automatically or with a menu command.  The internal HD failed some time ago, since which it's been running fine on an external usb hd.  No 'sharing' options are enabled. 'Wake for network access' is not enabled. 'Allow Bluetooth devices to wake...' is not enabled. The issue also happens with a 'test' account.  SMC and NVRAM have been reset.  'pmset sleepnow', 'osascript -e 'tell application "System Events" to sleep'' and 'osascript -e 'tell application "Finder" to sleep'' immediately sleep the display but not the system.  The 'energy pane' of Activity Monitor doesn't show any apps preventing sleep.  I'd had an issue with 'addressbooksourcesync' preventing sleep, but think that's now sorted.  'pmset -g assertions' shows '0' for 'PreventUserIdleDisplaySleep' and 'PreventUserIdleSystemSleep'.  Assertion status system-wide:    BackgroundTask                 0    ApplePushServiceTask           0    UserIsActive                   1    PreventUserIdleDisplaySleep    0    PreventSystemSleep             0    ExternalMedia                  1    PreventUserIdleSystemSleep     0    NetworkClientActive            1 Listed by owning process:    pid 195(cupsd): [0x0000004600110135] 00:10:00 NetworkClientActive named: "org.cups.cupsd"    pid 49(powerd): [0x0000003c0008012c] 00:10:11 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"    pid 95(hidd): [0x000000a500090183] 00:08:25 UserIsActive named: "com.apple.iohideventsystem.queue.tickle"     Timeout will fire in 218 secs Action=TimeoutActionRelease Kernel Assertions: 0xc=USB,BT-HID    id=500  level=255 0x4=USB mod=21/12/2016 12:46 description=EHC2 owner=AppleUSBEHCI    id=501  level=255 0x4=USB mod=21/12/2016 12:46 description=EHC1 owner=AppleUSBEHCI    id=503  level=255 0x4=USB mod=21/12/2016 12:52 description=UHC4 owner=AppleUSBUHCI    id=506  level=255 0x4=USB mod=21/12/2016 12:55 description=UHC3 owner=AppleUSBUHCI    id=507  level=255 0x8=BT-HID mod=01/01/1970 01:00 description=com.apple.driver.IOBluetoothHIDDriver owner=BNBMouseDevice
88065
Is it possible to use the true hibernate system functionalities of Win 7 and OS X to create a kind of instant switching between the two? Imagine this when reading/writing the sleep images to a quick SATA-3 SSD.  Hibernate-corruption-fix: If this is made possible, make sure that your different partitions are not write-enabled from eachother. (e.g. make it so that Boot Camp Windows 7 cannot write to OS X partition and vice versa). This safety measure should make it impossible for your different systems to corrupt eachother when one is suspended into hibernation.  Edit: I realized that I'm not sure that this is how partitions work on a disk. The hibernated OS X kernel could have references to blocks on the disk which it will continue to write to when it is woken up again. Are disk blocks like these contained within a partition or are they assigned to a partition after they have been written on? Is it different on HDD and SSD? Does this affect the above hibernate-corruption-fix?  Ok let's move on:  Windows 7 already has an option "Hibernate" which allows you to boot back to your OS X partition, but OS X does not exactly offer the same.  With OS X it is possible to hibernate by changing the hibernatemode system variable.  Pre OS X 10.7     sudo pmset -a hibernatemode 2   OS X 10.7     sudo pmset -a hibernatemode 25   This makes your Mac go into hibernate when you put it to sleep. You can put it to sleep with:     sudo shutdown -s now   Ok, so far so good. So we can put both Windows 7 and OS X Lion into hibernation at will. But wait! There's more problems up ahead.  When you put OS X into hibernate it will automatically boot back into OS X when you power your Mac on again. This makes it impossible for us to use it for "hotswitching" between partitions.  Possible fixes: If you install  without rEFItBlesser you will get the rEFIt boot menu after OS X hibernation. On OS X 10.7 Lion however, this does not fully work, instead you get a black screen and have to hard shutdown your Mac. But hey! At least it interrupts the automatic OS X boot, right? Maybe it can be tweaked further from there.  As mentioned on earlier OS X:s the rEFIt boot menu actually does come up after hibernation shutdown + power on. This allows you to e.g. boot your Boot Camp Windows 7 partition instead.  There are problems here as well though. Apparently the OS X partition loses its hibernation flag if you follow this method, which means that the next time you boot into OS X, it will not return from its hibernation state. Instead it will do a clean startup. Why is this? Does OS X look for the existence of a sleep image to determine wether to wake up from hibernation or to do a clean start or does it have some kind of system variable/flag set?  Summary  When Win 7 goes into hibernate it shuts down completely and you can then boot into OS X on startup. On OS X however, hibernate forces you to wake up into OS X. Can you hack this so that you're allowed to select boot partition after OS X hibernates and still be able to return later to OS X and wake it up from its hibernate?  Let's see what we collectively can come up with!
67274
After I click 'Hibernate', my laptop does hibernate, but only sometimes. Other times, the screen immediately fades black. But then the power button stays illuminated, and 10 s later (after I clicked 'Hibernate') the screen reappears, with everything before still opened.In both cases, my laptop had the same 3 USB devices plugged.  and  didn't help:  Update on 28 July 2018 Performing the steps in , didn't help. See  for my most updated energy-report.html.
33070
I recently installed Windows 8 RTM, but found a very annoying thing. My PC always powered on automatically even in midnight. Eventually I noticed that I can power on the PC by pressing keyboard or mouse, and even moving mouse.  After searched this in Google, I turned off Sleep and Hibernate in Power Options -> System Settings -> Shutdown settings, but it still did not work.  Would anyone please help me?  I don't want to suffer from the noise of PC powering on in midnight any more.
67621
I have a portable USB flash drive that I use with my netbook.  When I'm on the go, it is convenient to be able to simply close the lid and remove my flash drive without first having to use Windows's Safely Remove Hardware routine.  The netbook changes to sleep mode (ACPI S3 mode) when I close the lid.  Is it possible to do this safely with Windows 7 Home Premium?  What about for hibernate (S4) and off modes?
39143
Is there any sort of installation that can be added to provide power options for when I am running on battery? I wouldn't want to always be on power savings, so I would hope I could switch between Eco and performance like I do with windows 7. Anything like this out there?
74848
I am using a number of laptops which are connected to a domain which has Power Options put in place as part of the Group Policy. Is there anyway (registry, etc.) to override these settings?  Primarily, I want to change what the power and sleep buttons do, but to have control over the lid is also preferable.   The laptops are running Windows 7 Enterprise 64-bit.
75855
I am currently using a macbook pro but the operating system is debian 8.2 not os x  I am using a macbook pro but there's this one device that's just draining a lot of power. This USB device: Card Reader (Apple)   32.5 W    100.0%                      Device         USB device: Card Reader (Apple)   2.60 W    100.0%                      Device         Radio device: btusb   209 mW     19.7 pkts/s                Device         Network interface: wlan0 (wl)   This device really drains my battery, I noticed that my laptop wouldn't even get 2 hours when not plugged in, I installed powertop. Made all the recommended changes but this device, I can't find out how to disable it. I don't even use that reader and forgot that it was there.  I configured all my devices to use limited power in my rc.local  echo '0' &gt; '/proc/sys/kernel/nmi_watchdog' echo 'min_power' &gt; '/sys/class/scsi_host/host0/link_power_management_policy' echo '1' &gt; '/sys/module/snd_hda_intel/parameters/power_save' echo '1500' &gt; '/proc/sys/vm/dirty_writeback_centisecs' echo 'auto' &gt; '/sys/bus/usb/devices/2-4/power/control' echo 'auto' &gt; '/sys/bus/usb/devices/1-12/power/control' echo 'auto' &gt; '/sys/bus/usb/devices/1-8.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1f.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:01:00.1/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.3/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.4/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.2/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1c.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1b.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:16.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:14.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:01.1/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:01.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:01:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:08:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:06.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:05.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:04.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:03.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:07:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:06:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:05:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:04:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:03:00.0/power/control' echo 'auto' &gt; '/sys/bus/pci/devices/0000:00:1f.0/power/control'   How can I get this device to act sanely or disable it completely because I  haven't used it.