I believe you need to verify your charger’s voltage… there are color codes for wiring and black and white impute power leads are normally used only on AC units… Black being Load (Hot) and White (or gray) Neutral
There is a model number on the charger… run a google search on that model number …and contact the manufacturer to make sure
if it is really a DC unit then it appears to be a positive ground system rather than a negative ground which normally used Red and Black leads
[TABLE=“border: 1”]
[TR]
[TD]Positive (of a positive grounded) circuit[/TD]
[TD]N[/TD]
[TD]white[/TD]
[/TR]
[TR]
[TD]Negative (of a positive grounded) circuit[/TD]
[TD]L-[/TD]
[TD]black[/TD]
[/TR]
[/TABLE]
above is from reference guide attached, at the bottom
https://www.allaboutcircuits.com/textbook/reference/chpt-2/wiring-color-codes/