Text this: Dynamic energy balanced max flow routing in energy-harvesting sensor networks