new "check power mode"
update "identify device"
replace direct PIO with function call