api: update sample php ui with pool

and report pstate in hwinfo only