May 22 AT 3:09 PM Taylor Wimberly 9 Comments

Creating Custom Rules With Toggle Settings For Android

Toggle Settings is quickly becoming one of my favorite Android applications.  It allows you to toggle virtually any setting on your phone with a single swipe and click.  The latest version now supports custom rules which allow you to control your settings based on a number of factors.  Once you learn to create a custom rule, the possibilities are endless with what you can customize.

The current settings available to toggle are:

Pick and choose what toggles to display

Pick and choose what toggles to display

  • Airplane mode
  • Auto sync
  • Bluetooth
  • Fast Bright
  • GPS
  • Lock Screen
  • Screen never timeout
  • Silent mode
  • WiFi
  • 2G/3G network
  • Brightness
  • Ringer mode
  • Screen timeout
  • Volume control

To give an example of how rules work, we will create a simple set to toggle the screen brigthness based on time of day.  I often turn my brightness to zero when it gets dark in order to save my eyes and battery.  In the day time, I like to keep the brightness around half so that the screen is still visible when I’m outside.  You could change the settings manually, use a toggle application, or create custom rules to set it and forget it.

Rules work by applying a specified profile when a predefined criteria is met.  We will start by making two custom profiles; one for brightness at zero and the other for brightness at half.  Then we will create a rule to apply the zero brigthness at night time and the half brightness during the day.

1. Create a profile for zero brightness and half brightness

In the current version of Toggle Settings, you are unable to create a custom profile.  However, you get 11 profiles which can be renamed and modified.

You can rename a profile to easily identify it.

You can rename a profile to easily identify it.

  • Launch Toggle Settings and press Menu > Customize
  • Click Profiles to view the list of profiles
  • Select any profile to customize it
  • Press Menu > Rename Profile to assign a custom name
  • Click “Add new Toggle/Setting”, select Brightness, then press back
  • Click Brightness and move the slider all the way to zero

To create a profile for half brightness, repeat the steps above on a different profile.  It does not matter which profiles you use.  Any profile can be renamed and given custom toggle settings.

2. Add new rule to toggle the custom profiles

After you have the two profiles created for the different brightness levels, it is time to create a rule.

The final result of my brightness rules.

The final result of my brightness rules.

  • Launch Toggle Settings and press Menu > Customize
  • Find Rules and click it to begin
  • Click Add new rule
  • Pick the criteria to toggle the rule – we want Time in this example
  • When the rule is added, click it again to set the Time, Active Profile, and Repeat Schedule
  • For this example, I picked 8PM, Zero Brightness Profile, and repeat every day
  • Press back and make sure the check box is clicked to activate the rule
  • Press back again until you exit the customize options and see “Saving Preferences”

Repeat the previous steps to create a separate rule for the half brightness profile.  I chose to apply the rule at 8AM, which is when I normally leave for work.  Now my brightness goes to zero when the sun sets and returns to half when I leave for work.  No longer do I need to worry about changing the settings myself or wasting the button presses.

What kind of creative rules can you come up with?

Toggle Settings (Cupcake) for Android
Version: 2.0.5
Developed By: cooolmagic
Price: FREE
Filesize: 358KB
Taylor is the founder of Android and Me. He resides in Dallas and carries the Samsung Galaxy S 4 and HTC One as his daily devices. Ask him a question on Twitter or Google+ and he is likely to respond. | Ethics statement

    Most Tweeted This Week

  • j_norton

    This is just like Locale (two-fourty-four am LLC) but it looks like it has a few more options for settings to toggle. Will it toggle based on location? Like GPS or cell-tower location? I don’t see that anywhere, Locale does it.

    It can also post to twitter and send sms messages with plug-ins built for the app, and the developers have included steps for developers to integrate with their app. i.e. NewsRob has a setting that shows up in Locale to allow you to tell it when to sync your RSS feeds. This is extremely useful to me.

    I’d love to see these two side-by-side, maybe it’s worth it to switch over, but maybe not ;-)

    • Taylor Wimberly

      Yup, very similar to Locale but light weight. The current version does not support rules for location. I’m not sure I want that feature though.

  • Dylan Andersen

    Yeah, Toggle Settings is great. I really like the UI of Useful Switchers, though. And the icons are better. But Toggle Settings’ profiles are great, too.

    Love these articles, Taylor! Keep up the frantic updates, we love it.

  • Nigel

    Nice app and an excellent tutorial. I was looking for something simple to turn off my phone at night and re-enable it without having to actually switch it on/off all the time. This lets me activate aircraft mode at night then return to a normal profile in the morning.

    I was using Locale, but this is a simpler version that does the trick.

  • oskar

    Hi nice app, great tutorial. Juste love this site so keep up the good work.

  • Andrew Joslin

    I love this application but it force closes every time my phone boots up. I am running JF 1.51 US, was previously running JF 1.5 ADP and it occurred then too. I wiped my phone and started again, still same thing. Its not hindering anything, but I do find it slightly annoying.

    Is anyone else experiencing this?

    • vlad

      I have the same problem. on both JF 1.5 US and ADP and it also seemed to eat-up my battery but I’m not sure if IT was the cause, so I’ve uninstalled it.

  • Mike

    I want a toggle to force Speakerphone off/on without having to have me activate it during a call.

    Is this possible?

  • http://Website Brian

    does this give the ability to toggle settings if the droid is in the dock?