In wireless sensor networks, the lifetime of the sensors restricts the performance of the sensor network. In order to overcome this restriction, the sensors can be revived by frequently recharging the battery in each node. Recent technologies have simplified the energy charging process using wireless energy transmission. However, the efficiency of energy transmission reduces rapidly over long distance, consequently making it difficult to transmit energy to multiple nodes in a wide area. Energy can be delivered to each node by a wireless charging vehicle (WCV) which has high mobility and large energy capacity. Even with such WCV, a node battery is frequently depleted which makes the node stop operating until the battery is recharged by the WCV. If the frequency of energy charging is too low, the number of non-operating node will increase. If the frequency of energy charging is too high, each node will waste too much time in the energy charging process. In order to maximize the overall ratio of operating time of the sensor nodes, the WCV and sensor nodes require a proper scheme for the energy charging process. In this paper, we propose an energy charging scheme that can maximize the ratio of operating time of the sensor nodes, and thus improve the performance of the sensor network.