Power Expander Circut

Does anyone know the relation between the motors on a power expander and the two batteries? Are the batteries just in parallel, or is there a more complicated circuit?

The two batteries are not in parallel. The battery on the power expander powers just the motors connected to the power expander. The battery connected to the cortex powers just the motors on the cortex and other peripherals.