(self)
return self.__config.MaxPower * 2
Returns device's power consumption in mW.
        Beware of unit: USB descriptor uses 2mW increments, this method
        converts it to mW units.
Returns device's power consumption in mW.
        Beware of unit: USB descriptor uses 2mW increments, this method
        converts it to mW units.
Returns device s power consumption in mW . Beware of unit : USB descriptor uses 2mW increments this method converts it to mW units .
def getMaxPower(self):
        """
        Returns device's power consumption in mW.
        Beware of unit: USB descriptor uses 2mW increments, this method
        converts it to mW units.
        """
        return self.__config.MaxPower * 2
def getMaxPower ( self ) : return self . __config . MaxPower * 2