Changes

no edit summary
Line 1: Line 1:  
<pre class="header-style">
 
<pre class="header-style">
This trigger is triggered when the device is flipped from face up to face down or vice versa.
+
This trigger will fire when you flip the device over from face up to face down or vice versa. Please note that this trigger will only work when the device screen is on unless you modify the value within the application settings.
 
</pre>
 
</pre>
   −
Please note that this trigger will only work when the device screen is on (default setting).
+
''' Options '''
   −
You can enable the trigger to work with the screen off from the MacroDroid settings, but please note that this may cause significant battery consumption.
+
* '''Face Up -> Face Down''' - The trigger fires when the device is flipped from face up (screen visible) to face down (screen facing surface).
 +
 
 +
* '''Face Down -> Face Up''' - The trigger fires when the device is flipped from face down to face up.
 +
 
 +
* '''Any -> Face Down''' - The trigger fires whenever the device ends up face down, regardless of its starting position. This is useful for detecting when the phone is placed face down on a table.
 +
 
 +
''' Examples '''
 +
 
 +
Example 1: Silence phone when placed face down
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Flip Device [Any -> Face Down]</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Set Ringer Mode: Silent</pre>
 +
 
 +
Example 2: Reject incoming call when flipped face down
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Flip Device [Face Up -> Face Down]</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
End Call</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Phone Ringing</pre>
 +
 
 +
Example 3: Turn on flashlight when picking up phone
 +
 
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Flip Device [Face Down -> Face Up]</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Flashlight On</pre>
 +
 
 +
''' Notes '''
 +
 
 +
* By default, this trigger only works when the device screen is on. This is to conserve battery since the accelerometer must be actively monitored.
 +
* You can enable detection while the screen is off in MacroDroid Settings, but be aware this may cause significant battery consumption as the sensor remains active.
 +
* When the trigger activates a macro, the device can optionally vibrate to provide feedback. This can be configured in MacroDroid Settings.
 +
* The trigger uses the device's accelerometer to detect orientation changes.
 +
* "Face down" is typically when the screen is facing downward (toward a surface), and "face up" is when the screen is visible.
 +
 
 +
''' MacroDroid Settings '''
 +
 
 +
The following settings affect this trigger (found in MacroDroid Settings):
 +
* '''Flip Device - Detect with screen off''' - Enable to allow detection when screen is off (increases battery usage)
 +
* '''Flip Device - Vibrate''' - Enable to make the device vibrate when a flip is detected
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger:_Shake_Device|Shake Device Trigger]]
 +
* [[Trigger:_Proximity_Sensor|Proximity Sensor Trigger]]
 +
* [[Constraint:_Device_Orientation|Device Orientation Constraint]]