New answers tagged sleep-wake
This answer is specific to Macbook Air. Mine is a 13" mid2012, but this should apply to most models of the Air, and may apply to MBP from similar timeframe as well. Once you have tried these software and OS fixes, if nothing works, you may have a fault in your I/O board. This is the board that connects the power, iSight camera, microphone, headphones, and ...
It's quite hard to tell from that what's causing the crash, but seeing as SoundFlower hasn't been updated since 2014, and certainly hasn't been updated for El Capitan, my money's on SoundFlower being the culprit here. Try uninstalling it, or just moving its kext out of "/Library/Extensions/" and restarting. See if that fixes it.
Since I'm using a wireless Magic keyboard, a solution to the problem is to put the MacBook to sleep after all peripherials have been disconnected using Option+Command+Eject. The success of can not be checked, but still.
I'm not going to pretty this up like Graham Miln nicely did however it you want to create an AppleScript app that you can run before disconnecting your external display then this will wait 30 seconds, check to see if it's in clamshell mode and if yes put the system to sleep. AppleScript code: delay 30 set AppleClamshellState to do shell script "ioreg -r -k ...
Using the included Script Editor.app with OS X, try experimenting with these snippets. Wait 30 Seconds The following snippet will make your script wait 30 seconds before showing a dialog: delay 30 -- this waits thirty seconds display dialog "Hello?" -- this shows a dialog Sleep The following snippet will put your Mac immediately to sleep: tell ...
Your MacBook Pro is waking up when you disconnect the Display Port and Thunderbolt connections. This happens because OS X needs to re-evaluate its hardware situation. Consider using a context-sensitive automation tool like ControlPlane. When you disconnect your display or thunderbolt network, have ControlPlane trigger sleep mode. Alternatively, try ...
You can also use pmset -g log | grep LidOpen if you want to know when the lid of your MacBook was opened.
You can use a third party tool like Power Manager to automate reliable shut downs. By default, events will wake a sleeping Mac before being performed. Typically your Mac will be woken 15 – 30 seconds before the scheduled shut down begins. Ultimately, the wake up is performed by OS X's IOPMQueue which you can see and edit through the pmset tool. I am the ...
You could set a start up / wake right before the shutdown time. There should be enough time before sleep kicks back in to have the normal shutdown be processed. I'd say 5 minutes of gap on a 15 minute sleep timer would be ideal.
Same problem, so far the only solution I've found is to buy a shutdown timer off the App Store.
The NVRAM setting to power on when power returns has nothing to do with the shutdown command, so I wouldn't worry about the shutdown options and instead focus on the NVRAM settings for what to do when the machine senses a return of power. If you don't have an actual UPS - I would get an internet enabled power switch like WeMo or other or just train staff to ...
Try NoSleep Application. It is simple and has easy to use User Interface You can even close your lid and listen to music after that. Your App Store will continue downloading even after closing the lid. https://code.google.com/p/macosx-nosleep-extension/
If you don't want it to sleep, just go to "System Preferences" then click "Energy Saver" then make your Mac's sleep auto to "Never". Then change it to "Normal" once download is done, Also one tip: attach the charger (or what ever you wanna call the charger I.E AC power etc.) while app/file/document/any other things are downloading. If it's too complicated ...
also useful, to logout from the terminal command line prompt, type 'exit': [host:~user]$ exit
Top 50 recent answers are included