Lead-acid battery capacity discharge detection