Ps4 Power Supply Query

Hey everyone.
Please help me out. I love self repair but i am a noob. My ps4 power supply gave up the fight so i purchased a new one and had no problem installing it. It powered on fine for about 30 mins of game play after which the game froze crashed and after reboot the ps4 couldnt detect the hdd. The hdd is fine as i have removed and tested it. I left things for a few days to clear frustrations and when i powered on again it worked for a few mins. Usb slots only hold power for a few seconds. Did i buy a bad power supply? Is it worth the risk purchasing another replacement?

Doesn’t sound like a bad power supply.
I would activate UART and check with a programmer the terminal output of your PS4. It may help to see where the PS4 stops and why.