Microgrid system lead-acid battery with chip