After I power on and type my password, there is a progress bar under my username. The progress moves from left to right and after finishing normally it would present my desktop. Now it goes to about 75% and then the system powers off completely.
I would like to know how I can recover from this.
I have tried to login to Disk Utility from the Recovery Mode. I am able to see my disks and click First Aid > Run and it says the HDD is all good.
Based on Comments
syslog | grep -i "shutdown cause" as suggested by @allan, it found pci pause SXDC. Googleing, that I found this Reddit comment which says
Boot in single user mode [and execute the following commands] mount -uw / mv /etc/launchd.conf /etc/launchd.conf.old reboot
In my case I don't even see the