I have been trying to solve for why my Mac refuses to go to sleep (or wake from sleep). Either way, it crashes 100% of the time. Last night I booted into Safe mode to see if sleep might work there, but no dice. This morning, I checked the console to find AMPDeviceDiscoveryAgent[456] containing many errors as it was the last few messages in the console before the computer crashed. Any help would be greatly appreciated... I've tried everything at this point trying to get this computer to sleep.