Solar cell bending detection