Better detection of host.power_state.