er functions and fix some issues found while testing, including unit conversions to match the power_supply types. Signed-off-by: Rhyland Klein Signed-off-by: Anton Vorontsov àŠÂÈ‘