24

Wake for wifi network access (aka Wake on Demand but with Wifi) allows your computer to be brought out of sleep mode when someone else on the network requests access to a service on your computer eg. File sharing. From this Apple KB article Wake on Demand helps you save energy and reduce costs while still ensuring full access to all your shared files ...


24

I tried to summarize all the settings in a picture. For OS X 10.9 (it would be a little different with newer OS) source I would say there are just two "modes": Sleep and Hibernation Sleep: data will be kept in memory. Hibernation: (or Standby? SafeSleep? DeepSleep?) data will kept in hard disk and requires significantly less power consumption. Here are ...


18

This behavior is documented by Apple at Mac computers: Progress bar appears after waking from sleep: With the release of the OS X Mountain Lion v10.8.2 supplemental update 2.0, a new feature was introduced to enter safe sleep after four hours of the computer being connected to AC power. This is an effort to comply with the European Energy Standards (ErP ...


15

Deliberately Removed Apple have removed the Computer slider from the Energy Saver settings. This is deliberate. The decision is related to Apple's introduction of improved hardware, Power Nap support, and the engineers' belief that OS X is best placed to manage the computer's power state. If you would like to see this slider return, provide feedback to ...


13

caffeinate -i open -W -a Lightroom.app should keep the system awake as long as Lightroom is running and not idle. To prevent any sleep at all, use -s instead of -i.


13

The autopoweroff feature is also mentioned in http://support.apple.com/kb/HT1757: With the release of the OS X Mountain Lion v10.8.2 supplemental update 2.0, a new feature was introduced to enter safe sleep after four hours of the computer being connected to AC power. This is an effort to comply with the European Energy Standards (ErP Lot6). This will ...


12

This hibernate/sleep thing has been driving me insane. And I agree that Apple should put more energy into fixing this pmset behavior. I will be clear. I love hibernate mode and it used to work perfectly in older models and OSs (just running sudo pmset hibernatemode 25 was enough). Now Apple broke something and this just doesn't work since Yosemite. I have ...


11

ML 10.8.2, mid-2012 15" MBP (non-Retina). This problem just popped up for me a couple weeks ago: leave MBP sleeping for X hours, unplug MBP, MBP lights/wakes up, enters hibernation. Really annoying to open the lid only to have it shut down right in front of me. My acwake was also disabled for both battery and AC. Which means that the setting is now being ...


9

To disable deep sleep, run the following command in Terminal: sudo pmset -a standby 0 This is a description of "standby" (deep sleep) from the pmset man page: standby causes kernel power management to automatically hibernate a machine after it has slept for a specified time period. This saves power while asleep. This setting defaults to ON for ...


8

Since Apple doesn't publicly commit to power levels or even pin compatibility on the lightning connector, anyone interested in learning how hardware should be designed to work with Apple's dock connectors could choose to join the MFI program: https://developer.apple.com/programs/mfi/ As a developer, Apple will provide you with detailed hardware ...


8

gfxCardStatus is an unobtrusive menu bar app for OS X that allows MacBook Pro users to see which apps are affecting their battery life by using the more power-hungry graphics. https://gfx.io By this way you can simply disable your graphic card by an icon in your menu bar.


8

That file can be deleted - no need for -R but be sure to have the full path: sudo rm /private/var/vm/sleepimage One you "delete it", the space will not be freed until the kernel and other processes close the file, so restart your Mac. The image file will be recreated next time you need to sleep - so if you had a HDD with that file contiguously allocated, ...


7

Yes, the _CDBatterySaver API in the CoreDuet (Private*)Framework can be used to toggle low power mode. An example invocation, untested: #import <CoreDuet/CoreDuet.h> #import <objc/runtime.h> -(void)setLowPowerMode:(BOOL) isOn { _CDBatterySaver *batterySaver = [objc_getClass("_CDBatterySaver") batterySaver]; int nextState; if(isOn) ...


6

In my experience this has always been due to a hardware fault. However before doing anything else reset the SMC as detailed here: http://support.apple.com/kb/HT3964 as its power related. This appears to happen when the Mac is struggling to communicate with hardware. Which Mac is it? How old is the battery? Is your battery life still good? Has the Mac had ...


6

I got this issue once on my 15-inch Mid 2012 MBP running 10.8.4 because the audio input had switched to the internal microphone and it was picking up the constant noise of my fan. Switched the audio input to Line In and cpu usage dropped from 524% to 3%


6

If the idle power consumption was 11 W and the maximum was 85 W, the average might be something like 15 W if it's under very low load. That would be about 500 MJ per year (15*86400*365). If you paid 0.15 USD per kilowatt hour for electricity and the Mac mini was on all the time, it would cost about 20 USD per year (0.15*0.015*24*365). 15 W is about 65 mA ...


6

If your Mac has dual GPU (integrated for tasks not requiring much graphical performance, and dedicated for high performance tasks) then I recommend using an app called gfxCardStatus. It allows you to lock specific GPU to be in use all the time instead of dynamically switching it. It provides HUGE battery life boost, mainly because OSX's GPU switching ...


6

If it's a 2005-2009 model then NO! You absolutely cannot plug directly from a AC power source to a computer that does not have a built in transformer power supply, which the Mac mini 2005-2009 model does not have. The AC current must be converted to DC current first and that is what the Mac mini's power supply does. Starting in 2010 the Mac mini used a ...


6

No. No battery will be saved regardless of what color your screen is. This only applies when the screen is OLED, like in the Apple Watch. You can save battery by lowering the screen brightness, though.


6

Repeatedly needing to reset the SMC indicates a hardware failure. Apple generally replaces entire components - so you'd get a new logic board / GPU / processor board and then that failing board would get analyzed / repaired as appropriate. It could be as simple as some sensors that are bad and reporting continuous bad readings that the SMC can't handle. It ...


6

It seems that the CPU throttling will stop once device's battery is replaced. In a statment to TechCrunch, Apple says they will throttle devices "only when needed." Last year we released a feature for iPhone 6, iPhone 6s and iPhone SE to smooth out the instantaneous peaks only when needed to prevent the device from unexpectedly shutting down during these ...


5

This sounds like a bug in the power management software and I cannot reproduce the issue with my current MacBook Air. Have you been watching the power settings with the pmset command? The -g log command might show you something to help debug why this is happening. Worst case, you can have a few tabs open in terminal and watch -g pslog and -g assertionslog ...


5

You can disable sleeping in the Energy Saver preference pane of System Preferences. Alternatively, you can use a free app called Caffeine to easily prevent your Mac from sleeping just with a click of the mouse. Both work exactly the same, but Caffeine makes it easier to dynamically switch between the two settings.


5

Try resetting the SMC as noted in the question for your MacBook Air and see if the problem persists. If the problem does persist it may be a failing temperature sensor, resulting in the fans running faster than normal to worst case fail-safe full-speed state, your only option at that point would be to take it to Apple Support for repair / replacement.


5

Maybe it was an SMC reset: Resetting the SMC on portables with a battery you should not remove on your own Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009). Shut down the computer. Plug in the MagSafe power adapter to ...


5

Use launchd instead of cron, at, or other legacy UNIX tools for Mac OS X. pmset pmset is a built-in command line tool for getting and setting power related values on Mac OS X. One of pmset's abilities is to add and remove entries from the IOPMQueue; the IOPMQueue is the IOKit level queue that allows your Mac to power on and wake up at a specific time. ...


5

As mentioned by Jakuje in the comments above, I strongly recommend using screen (or tmux) for long running commands or sessions that you would want to resume if disconnected for any reason. Another approach would be to install mosh (https://mosh.org/) to make the connection. You can use it just like SSH and but it has support for intermittent connectivity (...


5

It turns out this part of the OS is open source. (Link is for macOS 10.12.6, but other versions are available.) Reading the code reveals that the IODisplayWrangler is a class that interfaces with the power management system in order to manage display brightness. It detects user activity and uses this to determine when to dim, turn on, or turn off displays....


Only top voted, non community-wiki answers of a minimum length are eligible