Question Wifi on laptop keep turning off at a certain time.

Feb 20, 2019
12
1
15
So my friend's laptop keep turning off at almost the same time everyday at 12:06 AM, idk why this happens, he just upgraded to windows 10 and this keeps happening. Before he upgrade, he had a windows 7 and he had no problems with it. Its not the wifi, his phone is connected but his laptop cant.