Android 13 may finally allow you to adjust flashlight brightness

The next version of Android will finally provide the user with the possibility to properly manage the brightness of the flashlight. However, this feature may not be available on all smartphones.

flash on android

Flash on Android // Source: Humanoid XP

All smartphones have flashlight function. It uses the camera’s flash to help you see better in the dark. On the iPhone, it’s possible to adjust the intensity of the flashlight via a simple slider. At first glance, this is a rather basic setting. Except that this option is not present on Android, where only the torch is proposed to be turned on or off.

Luckily, that may soon change with the arrival of Android 13, the next highly-tested version of Google’s OS.

Android 13. brightness control on a flashlight

It is Mishaal Rahman of Esper Blog who tells us that Android 13 includes two new APIs (Programming Interface for Applications). The first, named “getTorchStrengthLevel”, increases the brightness level of the flash LED. The second API, “turnOnTorchWithStrengthLevel”, makes it possible to set a precise level of torch brightness from a minimum reference of 1. As of now on Android, the torch is triggered through an API, “settorchmode”.

But perhaps we should not claim victory for all this. It is indeed possible that not all smartphones may offer to control the brightness of the flashlight. Mishaal Rahman explains that for this setting to take effect, the camera will need to be updated, more precisely to the Hardware Abstraction Layer (HAL,) hardware abstraction layer) of the camera. It is an interface between the operating system and the hardware. So it is possible that earlier only Pixel smartphones will get this update. Mishaal Rahman also noted that in the Android 13 Developer Preview for the Pixel 6 Pro, support for HAL version 3.8 has been added, which allows the two new APIs to work.

See also  The app forced you to give a good rating to open it

In any case, it would be great to be able to take advantage of this setting, after all, basic, but very useful.


To follow us, we invite you to download our Android and iOS applications. You can read our articles, files and watch our latest YouTube videos.

You May Also Like

About the Author: Tad Fisher

Prone to fits of apathy. Music specialist. Extreme food enthusiast. Amateur problem solver.

Leave a Reply

Your email address will not be published.