New answers tagged

-1

have a look at: http://www.mac-forums.com/apple-notebooks/273332-2nd-internal-hard-drive-ejects-sleep.html It seems to be the caddy.


0

Try pmset -g. It will show you a list of process id's that somehow have hooked into the sleep or shutdown process.


1

Here is a bash script that when run, without an argument, schedules the system to wake in 20 minutes and then puts it to sleep immediately. Or you can supply, as an argument, the number of minutes you want it to sleep before it wakes the system. Unfortunately the OS X command line utility pmset, which does the wake scheduling and sleeping, requires elevated ...


0

You can use this great open source tool: https://github.com/Eun/DisableMonitor Tested on iMac (20-inch, Early 2009) with OSX El Capitan 10.11.4 and Dell U2515H external monitor via DP


1

A good first step towards debugging power management-related issues on OS X is: pmset -g assertions It can take a little practice to read the output, but it can lead to finding processes that are erroneously making power management assertions against the kernel. It can also be an iterative process — keep running it at appropriate times, ad see what crops ...


0

Run on terminal.app; Admin@MacBook. script bash. #!/bin/sh bash. defaults write com.apple.screensaver askForPassword -bool false


4

There are multiple answers to the question of how to programmatically enable 'Ask for password after sleep or screensaver' -- the option that appears in the Security preferences panel. Once you've enabled that option, you can use the following command to run an AppleScript to sleep the computer: osascript -e 'tell application "Finder" to sleep'


0

Try checking your Energy Saving settings in System Preferences. You can tell your Mac to wake up at a certain time from here. If that does not solve the issue, you may benefit from resetting the System Management Controller. To reset the SMC: Turn off and unplug the mac. Then, after waiting 15 seconds (the times are important), plug the mac back in. ...


2

This sounds implausible, but do you live in a multi-floor building or near a loud street where some kind of heavy walking or loud noise may be physically shaking your desk just enough to move your mouse? It doesn't take much to wake up the mouse, and thereby wake up your computer.


1

A friend of mine did it when we saw a movie this weekend. He used my TV as monitor and of course I asked him for a tutorial. He sent me this video https://www.youtube.com/watch?v=zbWQuswykec I will try it tomorrow. I hope it be helpful for you too.


0

I also tried Caffeine, but it did not work. What seems to work for me is to have the laptop plugged in. It should not go to sleep.


0

I don't know if you can prevent it, but I use an app called Stay by Cordless Dog ($15, free trial), which keeps windows in place between display configuration changes.


0

Go into the menu on your external monitor. If there's an option that allows one device to toggle the power on the other via HDMI, make sure this is deselected (honestly, I don't think this will have an effect as your laptop is doing the driving, but for the sake of troubleshooting...). I too use an MBP Retina with external monitor (via HDMI). If I shut off ...


1

The problem may be due to SafeSleep, which is enabled by default on Macbooks and causes the laptop to write out the RAM to disk when put to sleep. Try turning off SafeSleep and see if that helps. My 2011 Macbook Pro started hanging occasionally when closing the lid after I upgraded to 8GB RAM, and turning off SafeSleep seems to have stopped it. ...


0

Well, that did not work. Now I'm going to try this in Terminal.app for 5 hours of "don't go to sleep on me": caffeinate -t 18000 Info on that command is: man caffeinate


0

This script works with the latest Power Manager, once the first line is changed to read: tell application "Power Manager" See Power Manager's AppleScript documentation for more examples. If you need help with Power Manager, please contact support@dssw.co.uk. We are be better able to help via e-mail.



Top 50 recent answers are included