Apple “bans” third-party battery replacements on iPhones

Apple is making a move that will prevent third parties to replace batteries in iPhones – to a degree. If you try to replace the battery in your iPhone XS, XS Max or XR with a non-official Apple battery or even an original battery at a third-party repair center, you will get an error message.
You will receive a message that says that the iPhone can’t verify if the battery is original or not. Because of this, the phone won’t give you information about the battery’s health. Essentially, you’ll still be able to use the phone normally. The battery will be fine, you just won’t be able to see when you should replace it.
The guys at The Art of Repair tried to swap two genuine iPhone’s batteries and they got the same message. Apple’s doing this by employing a microcontroller on the battery. It pushes information about the battery to the iPhone. Apple uses a special version of the chip, which authenticates the battery and pairs it with the logic board. This can be done only at an official service repair center.