Recently, we have witnessed the rapid development of techniques on upgrading energy efficiency for wireless sensor networks (WSN). With the improvement of the detection range and the detection intensity, the lifetime of wireless sensor networks (WSN) is still limited by sensor node batteries (BA). Due to the need for wireless sensor network energy optimization, the power supply side has been putting forward higher requirements, and the traditional wireless sensor network with energy supplement has difficulty in meeting this development trend. The game and potential game concepts were introduced to take economics into account. Taking the wireless sensor network (WSN) with photovoltaic (PV) array charging and mobile-charging car (MCC) as an example, a running optimization model based on potential game is proposed, and the existence of Nash equilibrium has been proven. The iterative solution is completed by communication between the players, and the energy utilization rate is effectively improved. This paper verifies that potential game theory can be used to improve the feasibility and efficiency of wireless sensor network energy optimization.