Hi Sagar. Go to Settings > Display > look for auto-brightness or adaptive brightness. Light sensor just does exactly what you expect, measure light.