`if (pm_change_state(new_state) != 0) {`