multiple battery power flow distribution