Sensors:
- Accelerometer
- Proximity and
- Light
Modes :
- Surface
- Downface and
- Walking
If phone is on Surface or Downface, then no need to check Proximity
Now have to take care about Walking mode
For this state I'm taking Proximity Reading for obstracle distance
And if it's night 12 am to 6 am read light values.
So if I'm Turn off my room light Switch to Silent.