PM: Fixs to pm2.c (sleep/wakeup)
Merge pull request #4 from croniccorey/3.0-pm2

PM: Fixs to pm2.c (sleep/wakeup)