Back
Android Battery Device is plugged in. BotGhost Trigger a custom event.

Trigger a BotGhost custom event when Android device is plugged in

Connect

How this automation works

Automate your BotGhost bot by sending a custom event whenever your Android device starts charging. This Applet runs each time your Android Battery is plugged in and triggers a BotGhost event you specify. Great for automating notifications, logging, or smart system integrations through BotGhost.

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
BotGhost 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 an associated custom event
bot_id event_id variable_1 variable_2 variable_3 variable_4 variable_5 variable_6 variable_7 variable_8 variable_9 variable_10

Services used in this Applet

Create your own Android Battery and BotGhost 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.

6 triggers, queries, and actions

Action Block triggered

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an IFTTT action block is triggered from a custom command or event

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.

Bot Status

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns whether a bot is online or not

Trigger a custom event

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 an associated custom event

Action Block triggered

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an IFTTT action block is triggered from a custom command or event

Bot Status

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns whether a bot is online or not

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.

Trigger a custom event

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 an associated custom event

Build an automation in seconds!

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

More on Android Battery and BotGhost

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 BotGhost

Online no-code Discord Bot maker. Join over 1.8 million users and create your own fully-fledged Discord bot for free. Choose from premade modules or design intricate custom commands and events.

Explore BotGhost

More integrations with BotGhost

IFTTT helps all your apps and devices work better together

Get started for free