Back
Android Battery Device is plugged in. Sonos Play Stream.

Play Sonos stream when Android device is plugged in

Connect

How this automation works

Stream your favorite radio or audio feed automatically when your phone starts charging. This Applet runs each time your Android device is plugged in and triggers Sonos to start playing a defined audio stream. Perfect for setting a relaxing mood or waking up your home sound system when you connect the charger.

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
Sonos 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 stream audio, such as a radio station, from a URL.
url room name image_url include_grouped_rooms

Services used in this Applet

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

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

Mute

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.
Mutes a Sonos Player or Group

Pause

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

Play Favorite

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 play a Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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

Set Volume

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.
Set Volume of Sonos Player or Group

Skip to Next Track

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 skip to the next track, if Sonos is playing a queue.

Skip to Previous Track

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 skip to the previous track, if Sonos is playing a queue.

Unmute

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.
Unmutes a Sonos Player or Group

Volume Down

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 decrease the volume by a small amount.

Volume Up

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 increase the volume by a small amount.

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.

Mute

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.
Mutes a Sonos Player or Group

Pause

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

Play Favorite

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 play a Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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

Set Volume

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.
Set Volume of Sonos Player or Group

Skip to Next Track

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 skip to the next track, if Sonos is playing a queue.

Skip to Previous Track

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 skip to the previous track, if Sonos is playing a queue.

Unmute

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.
Unmutes a Sonos Player or Group

Build an automation in seconds!

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

More on Android Battery and Sonos

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 Sonos

Sonos is the wireless Home Sound System that fills as many rooms as you want with great-sounding music, movies and TV.

This service is in beta. As new features are available, they’ll be delivered through software updates and made available here.

Explore Sonos

More integrations with Sonos

IFTTT helps all your apps and devices work better together

Get started for free