Lead-acid battery safety management system