The driving amplitude and frequency of the ac bias were 5 V RMS and 5 kHz, respectively. The local piezoelectric hysteresis
loop was measured by applying a dc bias ranging from 10 to +10 V. Output voltage and current of the flexible nanogenerators were detected by using a nanovoltmeter and a galvanostat, respectively.