Battery partition layout method