I’m not sure exactly why but you need a Y connector that will balance your 2 batteries. It will start discharging your big battery until both batteries are at the same levelI thinking about a range extender if it's plugged into the charging port in parallel it should ballance with main battery?
Which means both need to be fully charged at the start of the ride.
If the main battery is flat and the range extender is then plugged in it will discharge into the main battery?
The only other way is to do this is to disconnect the main battery which is not easy to do.
I’m not sure how the main bike brands do it?
Something like this :
Je viens juste de trouver cet incroyable article sur AliExpress. Jetez-y un coup d'œil ! 26,66€ Réduction de 58% | Batterie de vélo électrique pour touristes, technologie de décharge pour 24V, 36V, 48V, 52V, 68V, 72V, courant maximum 20A, 30A, 40A, 80A, accessoires de vélo électrique