Define UPOWER_ENABLE_DEPRECATED