Fix 'powered' attribute not being set
Combine UPDATE_POWER and SHOULD_UPDATE macros