Why you can trust ZDNET
:ZDNET independently tests and researches products to bring you our best recommendations and advice. When you buy through our links, we may earn a commission.Our process
'ZDNET Recommends': What exactly does it mean?
ZDNET's recommendations are based on many hours of testing, research, and comparison shopping. We gather data from the best available sources, including vendor and retailer listings as well as other relevant and independent reviews sites. And we pore over customer reviews to find out what matters to real people who already own and use the products and services we’re assessing.
When you click through from our site to a retailer and buy a product or service, we may earn affiliate commissions. This helps support our work, but does not affect what we cover or how, and it does not affect the price you pay. Neither ZDNET nor the author are compensated for these independent reviews. Indeed, we follow strict guidelines that ensure our editorial content is never influenced by advertisers.
ZDNET's editorial team writes on behalf of you, our reader. Our goal is to deliver the most accurate information and the most knowledgeable advice possible in order to help you make smarter buying decisions on tech gear and a wide array of products and services. Our editors thoroughly review and fact-check every article to ensure that our content meets the highest standards. If we have made an error or published misleading information, we will correct or clarify the article. If you see inaccuracies in our content, please report the mistake via this form.
Rules. We all know them. Some follow them, some break them, and some make them. But when it comes to phones, what are the rules? I'm not talking about whether or not you should use them while in line at the bank or if it's okay to block that one annoying acquaintance who continues to blow up your phone with nonsense.
I'm talking about rules you create that serve to automate changes that happen to your device, based on either a Wi-Fi network connection or location.
For example, you might have a work phone that you use and you want it to automatically switch to Do Not Disturb when you come home from a long day of fielding calls. Sounds nice never having to remember to silence that phone when you arrive home.
Even better, when you leave home, your Android device will automatically go back to pestering you until you return home. The rules feature is handy. And because it's been around since Android 10, chances are pretty good that it's available to you.
I'm going to show you how to create an Android Rule that will do exactly what I described above -- switch your device to Do Not Disturb as soon as you arrive home.
What are Android rules and how do you create a Do Not Disturb rule?
The only thing you'll need for this is an Android device running at least Version 10 of the operating system. That's it… let's set some rules.
1. Open the Rules screen
Open the Settings app from either the Notification Shade or App Drawer and tap System > Rules to open the Rules screen.
2. Enable the app to run in the background
For this feature to work, you must allow the app to run in the background. As the warning states, this may cause an extra drain on your battery, but I've not noticed the drain to be all that much. To enable this, tap Next, and then when prompted, tap Allow.
Back in the Rules window, tap "Add rule." In the resulting screen, tap Add Wi-Fi Network or Location, and either select a wireless network or type an address for the location. In this example, you'd pick your home network.
Once you've taken care of that, select what you want the device to do when you arrive. For this example, select Turn on Do Not Disturb. You can optionally enable the notification, which will send a notification to the Notification Shade.
After taking care of that, you can then back out of the Settings app and trust that whenever you arrive home, the device will be placed in Do Not Disturb mode.