Fix error in battery.lua