Okay here's the story. I had taken my MBP to Apple to have a power board replaced because my notebook wasn't charging. Now, if I put my laptop to sleep while charging, and I unplug it, it wakes up while its lid is closed. Then next time I open it, it comes out of sleep mode, I enter my password, and then it goes back to sleep mode, and I have to wait for it to wake again. It does the same thing if I sleep the laptop while it's not charging, and then plug the charger in. Both of these scenarios involve me closing the lid to sleep it. Is this a hardware error or a software error? And does anyone know what to do? I'd rather skip the trip to Apple. Thanks in advance!