Back
Android Battery Device is plugged in. Google Docs Create a document.

Create a Google Doc when your Android device is plugged in

Connect

How this automation works

Automatically create a new Google Doc whenever your Android device is plugged in. This Applet runs each time your phone starts charging, saving battery details like power source and percentage to a Google Doc. Ideal for tracking charging habits or logging device usage with Google Docs integration.

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
Google Docs 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 create a new Google document at the path you specify.
filename body path

Services used in this Applet

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

7 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.

New document added

Pro icon
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 new document is added to a Google Drive folder. Note: only works for docs created after the Applet is turned on.

History of documents added

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 a list of when new documents were added to a Google Drive folder.

Append to a document

Pro 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 add to a Google document as determined by the file name and folder path you specify. Once a file’s size reaches 2MB a new file will be created.

Create a document

Pro 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 create a new Google document at the path you specify.

Append to a document

Pro 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 add to a Google document as determined by the file name and folder path you specify. Once a file’s size reaches 2MB a new file will be created.

Create a document

Pro 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 create a new Google document at the path you specify.

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.

History of documents added

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 a list of when new documents were added to a Google Drive folder.

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.

New document added

Pro icon
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 new document is added to a Google Drive folder. Note: only works for docs created after the Applet is turned on.

Build an automation in seconds!

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

More on Android Battery and Google Docs

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 Google Docs

Google Docs brings your documents to life with smart editing and styling tools to help you easily format text and paragraphs. Applets let you create new documents, add to existing ones, or monitor specific folders for when new docs are added.

Explore Google Docs

More integrations with Google Docs

IFTTT helps all your apps and devices work better together

Get started for free