This trigger will fire when an application becomes the foreground application (launched) or when it is no longer the foreground app (closed).

Example Usage

When the battery saver is enabled, lower the brightness and disable Bluetooth and Mobile data.

Triggers

Battery saver state (Enabled)
Actions

Brightness 15%
Disable bluetooth
Disable mobile data