Proximity sensor behavior