Update powermanagement.js