I cannot make sense of your diagram.
You will have to show which are connected and which are not.
What do "M" and "G" stand for?
Where is the power supply to the charger? What are your polarities?
What does 12/115V mean? DC/AC ? Is that a convertor?
Your charger should not care how long the input or output leads are, within reason.