Lead-acid battery specific gravity detection