How do I test that proximity sensor on Galaxy Nexus works as expected I've noticed two days ago that I've initiated some random things while having hands in my pockets and phone was in as well...

And today I just picked up a call and while talking on the phone I realised that I turned on stuff with my face...

It seems that proximity sensor isn't working or working improperly.

How do I test it without placing a call?
How can I test proximity sensor anyway?
Is it at all possible?

I've read about some proximity sensor light... I don't see any light turning on or anything... I can just locate two holes behind glass between front camera and speaker. I suppose one of them (or both) is proximity sensor.


  Galaxy Nexus is 2 weeks old and running Jelly Bean
Install a sensor app like AndroSens or AndroSensor.

They both are able to show you the proximity information.

Note:
The sensor only distinguishes between near and far proximity (0-5cm and >=5cm usually). It is OK that you won't get accurate distance measurements.