A device for placement in contact with an eye of a user. The device includes at least one detector for measuring at least one property, and a signal processor for determining, based on the at least one property, whether the eye of the user is closed.