Wiring method of battery in power supply system