Text this: Mitigating energy holes and enhancing QoS in delay-tolerant networks