Optimal power allocation for harvesting based wireless control systems: To listen or not to listen to channel information