Phones don't detect legal batteries and batteries don't have DRM chips
Phones expect batteries to have a cooperative safety circuit to communicate with.
If that's missing, or if the battery is defective, your phone will do its best to alert you and shut down.
The battery is defective.
If new, return immediately.
If old, dispose of safely, better to recycle, it's full of bad chemicals.
Don't try to keep using it and absolutely keep it off of the charger.
For a more trusted brand for extended batteries, try Zerolemon.