When a computer powers down on its own This is due to the power supply ( SMPS ) malware, overheating or drivers conflict.
Computers come with heat sinks and fans to keep the cpu cool but when the CPU overheats the computer will power off so that it isn't damaged further. Adding thermal paste between the processor & heat sink can help prevent overheating as can working cooling systems like fans. Dust can get sucked into the computer ventilation holes and clog up air flow as well, causing the computer to overheat. Keep the cpu clean using compressed air or blower to blow out any dust or particles.
This video will help you to solve this kind of problems.
#TARIQLAB #CPUshutdownonit'sown
#cpuoverheat #cpurandomlyshutdown