Battery parallel function principle