Solved! PC shuts down immediately after on and remains like that.

Oct 3, 2018
1
0
10
The PC shuts down immediately after on and if it finally shows the BIOS settings option and I click on F12, it switched off immediately. After long hours of being idle, it may load windows and shut down after 10 seconds of loading windows.

OS is window 8 pro
Dell laptop