The present invention will provide a piezoelectric energy-harvesting device in a contact lens that utilizes the multiplicity of constant forces generated by the eye for generating usable energy. The present invention will place a plurality of piezoelectric microdevices in direct or indirect contact with the eye, with the preferred embodiment in the form of a contact lens comprising an array of piezoelectric microdevices at the perimeter of a contact lens. These piezoelectric microdevices will harvest electrical energy generated by the mechanical forces applied by the various activities and movements of the eye, including, but not limited to, winking, squinting, blinking, rolling of the eyes, and vibration of the eyes.