Just a little corrosion on the battery terminals can play havoc with conduction. Crusty deposits inside the connection on either the battery or the connector can play havoc with the circuit, and still pass electricity.
But I don't think that is your problem. Check anyway.
https://www.optimabatteries.com/en-us/battery-charger