Battery pack for compact shelving