An energy storage circuit includes a first capacitor connected with a power generating element via a first diode and a second capacitor connected with the power generating element via a second diode and a switch. The conduction state of the switch is controlled using the potential difference between its second and third electrodes (driving voltage V). The driving voltage when the switch enters its conductive state is higher than the driving voltage when the switch enters its non-conductive state.