PocketMode will use your iPhone’s ambient light sensor to detect when it is in dark surroundings, which, usually, means it’s in your pocket or bag. If your iPhone decides that it is indeed in such a place, it will increase the ring and SMS volume until you finally cotton on that someone’s trying to get hold of you.


The app also has an answer for the inevitable problem of someone calling you during the night when, obviously, the app would be forgiven for thinking it was in a pocket due to the fact that, well, it’s dark.
The app also has an answer for the inevitable problem of someone calling you during the night when, obviously, the app would be forgiven for thinking it was in a pocket due to the fact that, well, it’s dark.

PocketMode’s developer got around that particular problem by adding a ‘night mode’ option which allows users to set a window in time when the app will disable itself.

Source- redmondpie