Chosen Solution
It’s not my power box because a friend brought his Xbox over and it worked fine
If your Xbox One or Xbox One S keeps TURNING OFF, it is most likely due to OVERHEATING. ++++ Your Xbox can also turn off under these following conditions: 1 – MOST LIKELY – The console is too hot internally (overheating – fan issue – blocked air vents) 2 – The power supply or power supply cord has an issue or is faulty (end of power cord going into Xbox is bent or damaged) 3 – The TURN OFF setting is enabled and the console has been inactive for the period of time (change the power ON and OFF settings) Turn on the console – Scroll left from Home to open the guide – Select Settings – Select All Settings – Select Power – Select Turn off or restart. If you still have issues with the Xbox turning off by itself, continue reading below… CHECK First – Check to be sure the power supply cord is connected to the Xbox securely and is not loose or damaged. CHECK Second – Be sure the Xbox power cord going to the outlet is secure and not loose or bent. CHECK Third – Make sure there is no heavy dust build-up on the air vents of the Xbox that could allow it to overheat. If you find an issue with the Xbox power supply cord, replace it. If the power supply itself is faulty, replace it.