Joint Design and Management of Energy-Aware Mesh Networks