Sorry... if you have a battery that is being charged or overcharged as what happened when I experienced the accident *I* was in, there was no “hydrogen-oxygen” mixture.
There was hydrogen only in the confined space. The hydrogen forced all the air out and the spark ignited the leaking hydrogen at the hole, which in turn attempted to burn through and then exploded. Sure, there was air, but not in the “proper quantities”. The thing blew up and the cover hit me in the head knocking me unconscious. I obviously didn’t have time to check the fuel-air mixture, but I know for a fact there was a LOT more hydrogen available than there was oxygen! LOL
A “hydrogen bomb” is not a hydrogen. It’s a PLUTONIUM bomb. They are historically called “hydrogen bombs” based on fusion of tritium and deuterium (isotopes of hydrogen) which are injected into the weapon split seconds before detonation. The bombs are not based on the explosion of hydrogen, rather the FUSION of hydrogen atoms to helium (or heavier elements).
Hydrogen that explodes combines with oxygen and is NOT a fusion reaction (which is a NUCLEAR reaction), but instead is a chemical reaction of two elements that liberates energy in the form of heat and light through chemically combining two atoms.
(Nuclear reactions take place at a much lower level, at the nucleus of atoms. Chemical reactions take place at the valence electron levels...)
So you’re talking apples and oranges.
You may chose to not believe me but try this source?
http://www.ehs.ufl.edu/Lab/Cryogens/hydrogen.html