Hey, I made a flow that set my screen brightness to max (255) when some apps are in foreground. But I couldn't found out how to get back to the previous brightness (that I had before executing the flow) when I leave these Apps.
How to do that? It seems to be complicated.
Thanks for this great app! I'm on premium
Reset brightness to previous value
Moderator: Martin
Re: Reset brightness to previous value
You can create a flow with a trigger App Task Ended and invoke an action Set Screen Brightness with the value you like. There exists no action to store/restore the screen brightness.
Re: Reset brightness to previous value
Ok thanks.
It would be great, if such a feature could be integrated in a future version. Not only for brightness, but also for the most values or parameters that are changed within a flow
Best regards!
It would be great, if such a feature could be integrated in a future version. Not only for brightness, but also for the most values or parameters that are changed within a flow
Best regards!
Re: Reset brightness to previous value
+1
I'd like to write a flow whitch wil automatically set the display brightness by using the Light Sensor. For that the Action "Set Screen Brightness" must accept variables.
I'd like to write a flow whitch wil automatically set the display brightness by using the Light Sensor. For that the Action "Set Screen Brightness" must accept variables.
Re: Reset brightness to previous value
On newer Android version you can directly modify the settings database to change the screen brightness with action Set System Setting. Some older Android devices did not update the screen brightness immediately when this value was changed, but it should work on newer devices.
Set the Category of the action to System and Name to screen_brightness. Value is something between 0 and 255. Some older devices turn the screen off/entirely black when value 0 is used so it might be required to limit the value to a number between 1 and 255.
You can also use action Init Variable System Setting to read the currently set value into a variable.
Set the Category of the action to System and Name to screen_brightness. Value is something between 0 and 255. Some older devices turn the screen off/entirely black when value 0 is used so it might be required to limit the value to a number between 1 and 255.
You can also use action Init Variable System Setting to read the currently set value into a variable.
Re: Reset brightness to previous value
Unfortunately on my Galaxy S2 plus with Android 4.1 it doesn't work.
I can successfully change the creen_brightness_mode but not screen_brightness.
I can successfully change the creen_brightness_mode but not screen_brightness.