Balancing Harvesting Energy Consumption with Potential Field in Wireless Sensor Networks