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