Wall mounted enclosure with batteries