If your device does not automatically switch to mobile data when disabling the Wi-Fi, this may be caused by the way you smartphone or tablet is set up.

To solve this, open the Settings on your device, search for Wi-Fi/Mobile data switch, and select Switch to mobile data. Now your device will automatically switch to mobile data when disconnected from a wireless network.