How to repair the battery with an adjustable power supply