
If you are using an Android smartphone, your mobile must have a camera setup with LED flash.
It is easy to take photos in low light and you can also use it as a flashlight. Apple has been offering the option to reduce the brightness of the iPhone’s flashlight for a long time.
But most Android phones offer only the option to turn it on and off. According to Mishal Rahman of Espers, the change will be seen in Android 13.
Google’s upcoming operating system will have two new APIs, named ‘getTorchStrengthLevel’ and ‘turnOnTorchWithStrengthLevel’.
The first method will allow you to reduce the brightness of the LED flashlight, while the second will allow you to choose from a minimum of one to the maximum level supported by the hardware.
Earlier, apps could only switch on and off the LEDs through an API called ‘SetTorchMode’.
However, not all Android 13 based phones will be able to reduce the brightness of the flashlight. According to the blog, this feature will require an update to the camera hardware.