Gets the power supply type.
The legoev3-battery device will return Battery.
Battery
TODO: Convert string to enum.