Power connect/disconnect notification

PS1:fixed a bug in power notification: we need global not system

ps2: added missing Class
Double Tap to Sleep