Back
Android Battery Device is plugged in. Virtual Buttons Push a Virtual Button.

Run Alexa Routine when your Android device is plugged in

Connect

How this automation works

Automate your smart home by triggering Alexa Routines as soon as your Android device starts charging. This Applet runs whenever your Android Battery detects the device being plugged in and presses a selected Virtual Button. Perfect for setting up hands-free charging routines, like dimming lights or reading updates through Alexa. Note: Users select their Virtual Button when enabling.

If
Android Battery icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device is plugged in.
PowerSource BatteryPercentage OccurredAt DeviceName
Then
Virtual Buttons icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.
virtual_button

Services used in this Applet

Create your own Android Battery and Virtual Buttons workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

4 triggers, queries, and actions

Device is plugged in

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device is plugged in.

Device is unplugged

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device is unplugged.

Low battery

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Android device's battery becomes low.

Push a Virtual Button

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.

Device is plugged in

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device is plugged in.

Device is unplugged

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time your Android device is unplugged.

Low battery

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time your Android device's battery becomes low.

Push a Virtual Button

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will trigger the Alexa Routine attached to your Virtual Button.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Android Battery and Virtual Buttons

About Android Battery

A native Android service that lets you monitor a device's charging and battery status. This service requires the IFTTT app for Android.

Explore Android Battery

More integrations with Android Battery

About Virtual Buttons

Trigger Alexa Routines with Virtual Buttons. Simply enable the Virtual Buttons Alexa skill and then use this service to unlock Alexa Routines as an IFTTT Action. To connect with this service, you must log in using a Patreon account. See www.virtualbuttons.com to learn more.

Explore Virtual Buttons

More integrations with Virtual Buttons

IFTTT helps all your apps and devices work better together

Get started for free