Disable Mobile Data On Wi-Fi

by Fran T

Version 12 (December 2, 2023)

Download (232 downloads)

For devices without the 'Mobile Data Always Active' feature, helps save battery by turning off mobile data while connected to Wi-Fi.

Note:
Root access is not required. If superuser permission is not granted, the flow will use a UI workaround to set the Mobile Data state using the Quick Settings tile. For best results in this case, set up the Smart Lock feature on your device so that the flow can unlock it to use the setting tile. (If Smart Lock isn't available, the flow will wait until you manually unlock the device.) If you have logging enabled and notice an error in the log, that's from the flow determining whether the Mobile Data API is available for your device, permissions, and Android version the first time it's run. The flow proceeds normally.

Updates:
o Improved retry when device can only be unlocked manually, improved matching of Quick Setting tile text
o Quick Setting tile matching improvement for Samsung One UI
o Improved auto-generated XPaths
o Improved unlock for Samsung devices
o Updated Quick Setting tile XPath for Android 14; added Clear Settings flow