If you are using the t-mobile hotspot app, there is a setting with timeout options of 5 minutes of no use, 10 minutes of no use, and never. So check Settings > More > Mobile Hotspot & Tethering > Mobile Hotspot Settings > menu > advanced > Power Mode to see what that is set at.