With iOS 9, Apple has introduced a new feature namely Ambient Light which actually uses the iPhone's proximity and ambient sensors to detect whether your device is lying on a surface downfaced. If it is, the operating system will ensure not to turn on the light even if your device gets a new notification.