api: implement unitPowerType
api: implement unitPowerMax
api: implement unitPower