closed #11, changed switch_supply_voltage_*