An electronic device for testing the condition of a user's eyes. The devicehas a displayfor showing instructions to instruct the user to perform an eye exercise. Theuser thenprovides input corresponding to the user's performance of the eye exercise.The inputcan be generated by a camera on the device monitoring when the user's eyes areopenand closed. In this way, the device can measure how the long the user keepstheir eyesopen during an eye exercise. The device then determines and stores a measureof theuser's eye condition based on the input data. This may better allow the userto monitorthe condition of their eyes.