Power Supply¶
-
class
ev3dev2.power.
PowerSupply
(address=None, name_pattern='*', name_exact=False, **kwargs)¶ A generic interface to read data from the system’s power_supply class. Uses the built-in legoev3-battery if none is specified.
-
measured_current
¶ The measured current that the battery is supplying (in microamps)
-
measured_voltage
¶ The measured voltage that the battery is supplying (in microvolts)
-
measured_amps
¶ The measured current that the battery is supplying (in amps)
-
measured_volts
¶ The measured voltage that the battery is supplying (in volts)
-