added basic battery support to limit moves