Why is my laptop turning off randomly?

After replacing my battery with a brand new one, that passes all the HP diagnostic checks, my laptop randomly goes off and I can't pin the cause to any particular event or action it just goes black and everything turns off. How can I go about fixing this?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:02crwdne2944067:0:

Hi @timbar,

Check in Event Viewer for any Critical, Error or Warning events that may be logged at the same time that the PC turned off.

If there are they may have info that might reveal what's happening

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

also try removing the battery to see if it still consists

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0