Battery syntax errors fixed