Text this: Optimal Control of Energy Resources for State Estimation Over Wireless Channels