Stable power supply despite fluctuating voltage