Power Management Notifications in node.js