More info here: https://support.apple.com/en-gb/HT208387
“This iPhone has experienced an unexpected shutdown because the battery was unable to deliver the necessary peak power. Performance management has been applied to help prevent this from happening again. Disable…”
As for not (easily) allowing third party replacements, as someone who designs products: why should I (or Apple) have to support third party items? Why should I use engineering resources debugging why a third party touchscreen doesn’t work with my new firmware (this happened to Apple)?
Also, as someone who buys second-hand electronics I don’t want a third-party battery in the phone, or at least I want to be able to tell if there is one in order to reject the phone. I like my house in a non-burned-down state thank you very much. And you just know that the average punter with a third-party battery is still going to blame Apple when their phone bursts in to flames from an eBay battery.
Now, I believe there should be laws to dictate reasonable repair costs and, more importantly, number of years of support to ensure electronics live a long life.
One thing that I never really understood is why they degraded performance when the battery was at 30-100% if the random reboots didn't kick in until the battery was at 30%. Perhaps you know.
Or why I can easily replace the battery on my phone but the iPhone battery is sealed in and has to be replaced by apple. Hmmm...