The mobile hotspot on my Samsung Galaxy defaults to a timeout of 10 minutes. To change this, go into the Hotspot settings where it lists connected devices. Click the phone's button that brings up the menu. Here, you should see "Timeout Settings". Here, you can set it to "Never timeout".