Welcome to TPG Community!
To my understanding, the mobile data went off when you were connected to the WiFi.
It is normal to Smart phones to prioritize your WiFi connection, instead of the Mobile data.
If you wish to use your mobile data instead of the WiFi, make sure that the WiFi is disabled on your smart phone.
Let us know if you need further assistance.