See the supplementary material for Figures (i) the tapping machine used for the TENG electric output performance measurement, (ii) FESEM images of g-C3N4 nanosheets, (iii) Elemental mapping, (iv) Table for vibration modes with their respective frequency and functional groups for g-C3N4 and all the Ru/g-C3N4 X-ray irradiated samples S1, S2 and S0 and XPS spectra of g-C3N4 nanosheets.