A generic interface to read data from the system's power_supply class. Uses the built-in legoev3-battery if none is specified.
The measured current that the battery is supplying (in microamps)
The measured voltage that the battery is supplying (in microvolts)
Generated using TypeDoc
A generic interface to read data from the system's power_supply class. Uses the built-in legoev3-battery if none is specified.