The vast majority of modern mobile phones are equipped with a proximity sensor. Its task is to evaluate the distance of an object from the sensor. Once the object gets close, the telephone activates a particular function. One of the most common is the function to turn off the screen and the touch layer when the user dials a phone number and places the phone close to his ear.