Text this: Charge critical sensors first: Minimize data loss in wireless rechargeable sensor networks