The Location Trigger fires when you enter or exit a specified geographic area (zone). This trigger uses GPS functionality and may cause significant battery consumption. For better battery efficiency, consider using the Geofence Trigger which uses Google Play Services APIs.

Options

  • Zone: Select which geographic zone will activate the trigger. Zones are configured in MacroDroid's Geofences settings.
  • Area Entered/Exited: Choose whether the trigger fires when:
    • Entering the specified area
    • Exiting the specified area
  • Trigger if Previous Location Unknown: When enabled, the trigger will fire even if MacroDroid cannot determine your previous location (such as after device reboot). By default, the trigger requires a confirmed state transition.

Settings

The location update rate can be configured in MacroDroid Settings to balance accuracy with battery consumption. More frequent updates provide better accuracy but drain more battery.

Examples

Example 1: Turn Off WiFi When Leaving Home

Triggers

Location (Area Exited) - Home
Actions

WiFi Configure - Disable WiFi

Automatically turns off WiFi when leaving the home area.

Example 2: Enable Ringer at Work

Triggers

Location (Area Entered) - Work
Actions

Volume Change - Ringer: Vibrate Only
Constraints

Day of Week: Mon, Tue, Wed, Thu, Fri

Sets the phone to vibrate when arriving at work on weekdays.

Notes

  • Requires location permissions (ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION).
  • Location services must be enabled on the device.
  • This trigger uses GPS when available, which can cause significant battery drain.
  • The update rate can be adjusted in settings to compromise between accuracy and battery life.
  • A passive location listener is also registered to receive location updates from other apps, improving efficiency.
  • Geographic zones must be configured in MacroDroid's Geofences settings before use.
  • Consider using the Geofence Trigger instead, which uses Google Play Services and is typically more battery efficient.

Recommendation

The Geofence Trigger provides equivalent functionality but uses Google Play Services Geofence APIs, which are generally more reliable and battery efficient. Consider using the Geofence Trigger unless you have a specific need for GPS-based location tracking.

See Also