I want to have Auto Sync on my android always enabled, but I want it to only work while on wifi. I don't want to enable/disable it everytime I am going from wifi to mobile data. So is there a way to configure it to only be executed while on wifi?

To clarify. I have restricted some apps from background data usage while on mobile networks. But what I want is accounts auto sync to be restricted.

Is there a built in way to do this without using any third party apps?

  • A good starter would be our automation tag (and questions using it). There are plenty of apps supporting this situation, automatically switching sync on when on wifi and off when not.
    – Izzy
    Commented Jul 15, 2016 at 7:10
  • But I am looking for a built in way from android Commented Jul 15, 2016 at 7:54
  • Your original post didn't state that :) Sorry, but I'm afraid there is no such built-in feature. Unless the apps-in-question (which do the sync) have an option to "sync only on WiFi" (some have this), and unless I've missed something. I've never found such a setting anywhere, and never heard of it. Otherwise I'd already written an answer :)
    – Izzy
    Commented Jul 15, 2016 at 9:40

1 Answer 1


There is no way to do this without the use of third party apps. You can use Tasker to automate your phone. You can add a task that enables auto sync when you're on WiFi.

The stock android doesn't provide any option that says "Auto sync only on WiFi". only way to do this is through third party apps. By the way, there are other automation apps also on the Google Play. You can go and check them out.

Another way to do this is to use custom roms. Many custom ROMs have built in modules or profiles to set while you're on your favourite WiFi network. Cyanogenmod is a good option to go with. I don't remember exactly but i think there is an xposed module that does this job. Feel free to check them out. Hope this helps!!

Link to Tasker app

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .