Hi Stentdoc; I'm thinking, 'connection lost ~= sorta low AA batteries in the Mighty Mouse? (I would put in fresh AA batteries in the mouse and keyboard, to eliminate as an issue that the 'connection lost' is due to low batt voltage; that this is causing the failure to wake.) ... then, in System Preferences > Hardware > Energy Saver, settings for Power Adapter > Sleep, set to "never" for "Put the computer to sleep when it is inactive for ..." to eliminate that as a conflict when trying to wake with bluetooth from sleep induced by closing the lid ...
Check your current "Sleep" setup (I left my MBP as "3")
go to Utilities > Terminal
After you launch Terminal, the first step is to determine which sleep mode your Mac is currently using. You can both view and change the sleep mode using the Unix program pmset. To see your current settings, type (or, copy and paste)
pmset -g | grep hibernatemode
press 'enter'
You should see something like this:
$ pmset -g | grep hibernatemode
hibernatemode 3
So your machine is using mode 3 ... thanks to the documentation for the handy Deep Sleep Dashboard widget, which puts your machine immediately into hibernation mode (so you don’t have to yank all the power sources to invoke it):
* 0 - Old style sleep mode, with RAM powered on while sleeping, safe sleep disabled, and super-fast wake.
* 1 - Hibernation mode, with RAM contents written to disk, system totally shut down while “sleeping,” and slower wake up, due to reading the contents of RAM off the hard drive.
* 3 - The default mode on machines introduced since about fall 2005. RAM is powered on while sleeping, but RAM contents are also written to disk before sleeping. In the event of total power loss, the system enters hibernation mode automatically.
also, I enabled this (to change back, input "lidwake 1":
go to Utilities > Terminal
type in sudo pmset lidwake 0 then "enter"
it will ask for your password. type it in, that's it!
Now, when your computer is sleeping with the lid closed, when you open the lid nothing happens until you press any key ... nice: keeps it off when accidentally opened, like in a backpack?
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.