Open Benjamin-Loison opened 2 weeks ago
https://wiki.termux.com/wiki/Termux:API
only mentions
https://wiki.termux.com/wiki/Termux-torch
which has a boolean argument.
termux-torch
Illegal param count
Usage: termux-torch [on | off]
Toggle LED Torch on device
termux-torch --help
Illegal parameter: --help
Usage: termux-torch [on | off]
Toggle LED Torch on device
https://9to5google.com/2022/03/01/android-13-flashlight-brightness-control/ seems implementation precise. I can build and run an app to check how many brightness steps is available on Fairphone 4 (if more than 2 states).
Could also investigate F-Droid apps.
flashdim/blob/e77d4883b9475380e2d4082c2be4577a6183a9ae/README.md?plain=1#L228 describes Fairphone 4 as not supported for https://f-droid.org/packages/com.cyb3rko.flashdim/.
DuckDuckGo and Google first page results for Flashlight brightness Fairphone 4 does not bring more interesting results. I guess the feature should be added at the firmware level, is Fairphone 4 firmware open-source?
https://github.com/WeAreFairphone
The following 2 repositories seem to be the only ones concerning Fairphone 4:
Is there a native (i.e. without additional app) LineageOS flashlight variable brightness controller for compatible phones?
https://crdroid.net does not mention it.
Holding Quick Settings tile does not help.
Search settings flashlight does not help.
+3