Line 1: |
Line 1: |
− | Is used to set the brightness level of the device.<br/>
| + | == About == |
− | <br/>'''Features available'''<br/> | + | |
− | *'''Auto brightness:''' Activates automatic brightness.<br/>
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | *'''Variable type integer''' Supports the use of integer type variables to define the brightness level.<br/>
| + | This action allows you to adjust how bright or dim the screen of your phone looks. For example, if you are in a dark place, you can use this action to make the screen brighter so that you can see better. |
− | <br/>'''Additional options'''<br/>
| + | </pre><br/> |
| + | |
| + | ==<p><b>Configuration available</b></p>== |
| + | |
| + | === Auto Brightness === |
| + | |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | You can set the status of the automatic brightness level (Off-On). |
| + | </pre><br/> |
| + | |
| + | === Slider value === |
| + | |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | You can choose to choose a fixed value with the slider or choose a value of some integer type variable. |
| + | </pre> |
| + | ''''' [https://macrodroidforum.com/wiki/index.php/Variables#Integer Variables | Integer ] ''''' |
| <br/> | | <br/> |
− | *'''Alternative android 9+ mode:'''<br/>
| + | |
− | Some Android 9+ devices use a different mapping of percentage to brightness. Try enabling this option if brightness does not work correctly on your device.<br/>
| + | === Alternative Android 9+ mode === |
− | *'''Force value:'''<br/>
| + | |
− | Some devices (particularly Xiaomi) do not map brightness to a percentage scale. Use this option to force a particular brightness value that can be greater than 100.
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | The brightness control may not work as expected on some newer Android devices (Android 9+). Try to enable this option. |
| + | </pre><br/> |
| + | |
| + | === Force value === |
| + | |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | On some devices, especially Xiaomi, brightness control is different. Use this option to set a specific brightness level, even above 100%. |
| + | </pre><br> |
| + | |
| + | ==<p><b>Example</b></p>== |
| + | |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | You can choose the percentage when automatic brightness is activated. |
| + | </pre><br> |
| + | |
| + | |
| + | <pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;"> |
| + | Triggers |
| + | |
| + | Battery>=50% |
| + | </pre><br> |
| + | <pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;"> |
| + | Actions |
| + | |
| + | Brightness |
| + | Auto |
| + | </pre><br> |
| + | <pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;"> |
| + | Constraints |
| + | |
| + | |
| + | </pre><br> |
| + | <pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;"> |
| + | Local variables |
| + | |
| + | </pre><br> |