flexible battery configuration