Lead-acid battery or ion battery