Hello
This problem can be from different parts.
First, test and service the RAM slot and the RAM itself.
Check the health of the switch button.
Program the laptop BIOS.
Check the voltage and see if all the voltages are present?
If it has graphics, disable it.