Modern aircraft should have a battery temperature sensor circuit which will disable the battery charger if the internal temperature of the battery gets too high. Also, they should have sophisticated charging control circuits to prevent excessive charging currents and to help prevent thermal runaway.
The battery will not be recharged if the voltage (of the battery) is too low.
Boeing aircraft, including the 737NG, have these features.
Rgds.
NSEU