fix type in UnregisterPowerSettingNotification