After battery replacement mac crashes when sleeping.

After installing a replacement battery my mac crashes when put to sleep - regardless of whether the power adapter is plugged in. I’ve tried resetting the SMC and PRAM many times but the issue persists. The battery seems to work fine, except once the mac goes to sleep I have to restart it a few times before it will boot properly.

Any advice?

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0