Fixed missing require statement in battery.lua