Difference between revisions of "Constraint: Battery Temperature"

 
Line 1: Line 1:
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on the battery temperature.</pre>
  
This constraint can be used to allow/prevent a macro running based on the current temperature of the device's battery.
+
''' Options '''
 +
 
 +
* '''Above/Below''' - Check if the temperature is above or below a set value
 +
* '''Units''' - Choose Celsius or Fahrenheit
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Reduce heat by disabling mobile data when the battery is hot''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Power Connected/Disconnected - Connected</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Mobile Data On/Off (Disable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Battery Temperature - Above 42C</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Battery Temperature|Battery Temperature Trigger]]

Latest revision as of 11:04, 9 January 2026

This constraint allows or prevents a macro/feature from running based on the battery temperature.

Options

  • Above/Below - Check if the temperature is above or below a set value
  • Units - Choose Celsius or Fahrenheit

Example

Example 1: Reduce heat by disabling mobile data when the battery is hot

Triggers

Power Connected/Disconnected - Connected
Actions

Mobile Data On/Off (Disable)
Constraints

Battery Temperature - Above 42C

See Also