First, you need to determine the voltage of your power supply. The voltage of your power supply must be greater than the voltage of the battery you''re trying to charge. For example, if you''re trying to charge a 12 volt battery, then your power supply must be able to output at least 13 volts.. Next, you need to determine the amperage rating of your power supply.