1

I am wondering if there is a method by which I can designate a WLAN/WiFi connection as "mobile network" based on its SSID for the sake data usage policies by apps or the Android system in general.

Typically when you have a data plan with your mobile provider, your phone's LTE (or 3G ...) modem will connect to the provider to enable you to have internet access.

Now if I am using a mobile LTE/WLAN router instead, my phone assumes that it's on an unmetered WiFi uplink and apps/the system will (mis)behave accordingly.

Is there a way to tell the system that when it connects to a particular SSID it should treat that as "mobile network" in regards to how apps may use data?

Phone: Samsung S9+ (SM-G965F), Android 9

NB: the settings from this answer don't exist on my phone.

1

I don't think WiFi can be designated as a Mobile Network, but stock Android provides option to set WiFi network as metered. When connected to the WiFi, go to that WiFi connection settings and you will find options to set the connection metered or unmetered (at least on Pie).

OEMs might be removing the option from GUI. You can also try CLI method as stated here. From adb shell execute:

~$ cmd netpolicy set metered-network <WIFI_SSID> true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.