Controlling the supply voltage