How do you keep Mobile Hotspot on During sleep? I have a Nokia 3.1a (from Walmart), and it appears to be basically running stock android. Overall it seems to work well other than two annoyances. Can't go back to 3 buttons, stuck with gesture interface. And the annoyance that this thread is for. The mobile hotspot feature works as long as the screen is turned on. 

As fun as it is setting the screen to time out after 30 minutes, I would love it, if it would stay on while the screen was off. I thought maybe the wifi chip was turning off. Google has hidden the "wifi on during sleep" setting, so using ADB I can confirm that wifi_sleep_policy is 2 (always on).

Also, under advanced settings, I have the timeout if no devices connected set to "never". 

Any help would be appreciated!
And, It looks like I found the solution. It appears that when the screen is off, Wifi was scanning. Since Wifi can't be turned on when the mobile hotspot is turned on at the same time, it would stop transmitting the hotspot signal. 

Solution:
Settings>Network &amp; Internet>Wifi>Wi-fi Preferences Turn off Automatic Connection to AT&amp;T Wifi Hotspot.
Settings>Network &amp; Internet>Wifi>Scanning Settings Turn off Wi-Fi Scanning