I have tried setting the energy saver setting sleep to never. I tried both Caffeine and NoSleep apps. I've tried setting pmset sleep to 0. I read somewhere that it might be the lid sensor which is on the ribbon cable for the battery light indicator, so I disconnected it but it would still go to sleep. I've also tried resetting the SMC, and it made no difference. Not sure what is wrong. I'm running 10.9.3 on a Macbook Pro mid 2009.

Update: http://pastebin.com/7Q3aVZam Power Management logs

  • Are you trying to prevent sleep after inactivity or sleep when closing the lid of your MacBook Pro? – Graham Miln Jun 13 '14 at 16:08
  • Well technically neither, my mac just goes to sleep on its own whilst I'm working. So I'd at least like to try and fix the sleep "symptom" before trying to find out what the cause is – mac_fan_33 Jun 13 '14 at 16:11
  • 2
    Please can you expand your answer to include more about the symptoms; it is not clear what behaviour you are seeing. Also try pmset -g everything > ~/Desktop/pm.txt to create a dump of power management logs and other useful power information. There are likely clues in there to help those answering this question. – Graham Miln Jun 13 '14 at 16:50
  • The fans also behave strangely, most of the time at full speed but sometimes at 223rpm!. When I changed the peseta sleep to 0 the mac rebooted on its own, however this only happened twice and hasn't happened again. I'll update the question with the a pastebin link to the logs. Thanks a lot for your help and advice btw. – mac_fan_33 Jun 13 '14 at 17:46
  • Have you tried resetting the System Management Controller (SMC)? This controller is responsible for the fans and power management at a hardware level; support.apple.com/kb/HT3964 – Graham Miln Jun 13 '14 at 18:34
up vote 1 down vote accepted

Thanks for your help Graham, but I decided to take a look at my logic board and found some places that had been corroded. I removed my logic board and gave it a good clean with isopropyl alcohol and a toothbrush and for now my mac has stopped going to sleep on its own, also fans are back to normal.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.