Hope this helps some of you as well.
I have had sleep issues with my Macbook Pro Core2Duo since day one. When closing the lid it would wake up anytime I picked up the machine. Then when I open the screen it would go to sleep. Sometime it would not wake-up (I guess that was when the battery is real low). Apple replaced the system board but it still had the same issues.
Anyway I found this terminal script on the web and now, after closing the lid and the computer goes to sleep, it will only wake up after pressing any key on the keyboard. Handy as well if the lid accidentally pops open when you carry it in your case.
USE AT YOUR OWN RISK:
You will need administrator privileges in Terminal
sudo pmset lidwake 0
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pmset.1.html
I have had sleep issues with my Macbook Pro Core2Duo since day one. When closing the lid it would wake up anytime I picked up the machine. Then when I open the screen it would go to sleep. Sometime it would not wake-up (I guess that was when the battery is real low). Apple replaced the system board but it still had the same issues.
Anyway I found this terminal script on the web and now, after closing the lid and the computer goes to sleep, it will only wake up after pressing any key on the keyboard. Handy as well if the lid accidentally pops open when you carry it in your case.
USE AT YOUR OWN RISK:
You will need administrator privileges in Terminal
sudo pmset lidwake 0
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/pmset.1.html