Frequent BSoD after replacing battery

Hey there. Earlier this week I replaced the battery on my Dell XPS 15 9570 with the 6GTPY 97 battery from iFixit. Since then, I have been getting the "DRIVER_POWER_STATE_FAILURE" blue screen error once or twice a day. Can I just assume the battery I bought was faulty and get a replacement, or is this a BIOS thing I need to configure?

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

crwdns2934109:0crwdne2934109:0

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