Added function to set output power level.