Hydrogen production battery