When battery packs are connected in parallel