Battery pack discharge test schematic diagram explanation