Text this: On optimizing the charging trajectory of mobile chargers in wireless sensor networks