Smart bricks store energy in the walls themselves