Changed max_voltage to initial_voltage (12V) to prevent beeper alarm when
lower voltage source is used