Back
Android Battery Device is plugged in. Tny Shorten URL.

Shorten a Tny URL when your Android device is plugged in

Connect

How this automation works

Automatically shorten any URL using Tny whenever your Android device is plugged in for charging. This Applet runs each time a power source connects and triggers a quick link shortening process. Ideal for Android users who want to save and share links efficiently while charging their phone.

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
Tny 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 shorten a URL and add it to your Tny account.
url

Services used in this Applet

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

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.

Short URL Created

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 a short URL is added to your Tny account.

Shorten URL

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 shorten a URL and add it to your Tny account.

Unshorten URL

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 follow all redirects and returns the final destination of the input URL. Optionally strips away tracking parameters from the resulting URL.

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.

Short URL Created

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 a short URL is added to your Tny account.

Shorten URL

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 shorten a URL and add it to your Tny account.

Unshorten URL

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 follow all redirects and returns the final destination of the input URL. Optionally strips away tracking parameters from the resulting URL.

Build an automation in seconds!

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

More on Android Battery and Tny

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 Tny

You want a tny link? We have them! Shorten your links fast and easy.

Explore Tny

More integrations with Tny

IFTTT helps all your apps and devices work better together

Get started for free