Before you refer to this: I have tried installing Onavo as suggested here, but that did not allow me to do what I wanted (at least the current version of the app doesn't).

My Wi-Fi is not the most reliable, and it sometimes simply dies for a while, causing my phone to switch to data usage. Of course this always happens when I'm watching a video on youtube on my phone, and I only notice afterwards that this has happened, causing my mobile data usage to skyrocket.

What I would like to have is some way to completely prevent the YouTube app from ever connecting to the internet if I am not using Wi-Fi at the time. I have already checked the box that prevents the app from using data in the background, but that is obviously not enough.

  • Why don't you turn phone data off when you're at home?
    – papakias
    Jul 13, 2016 at 14:47
  • @papakias because I don't think of that when I come home. Besides, if there is a way to do this, that makes it a lot easier for me, doesn't it? (otherwise, yes that would also help, but it's effort and I assume that android has some kind of solution which doesn't require any effort; or only some initial effort)
    – Joeytje50
    Jul 13, 2016 at 15:12

1 Answer 1


Frankly telling : You just can't stop an app from using the data when it is running in the foreground. Android has not implemented any feature till now. However, You can restrict the background data for the apps and save the data. Better you keep mobile data closed when you're using WiFi. I know its frustrating but that's the best you can do.

Another option is to use a custom ROM like CM. It has the profile option where you can set the usage of your WiFi and data when you're at your home or office.

  • Using CyanogenMod sounds like a good option to me; is there no such thing as profiles in regular android though?
    – Joeytje50
    Jul 13, 2016 at 18:23
  • Nope my friend. It is not. The only things stock android provides as in profiles is Silent, Do not disturb mode and Aeroplane mode which won't help you in any case. Jul 15, 2016 at 13:14
  • Man that's nuts. This feature was there on my iPhone and saved my butt many a time... Apr 22, 2018 at 22:05

You must log in to answer this question.

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