The Batterygate fiasco did lead Apple to add Battery Health tools to iOS
For example, when I first booted up my iPhone 11 Pro Max for the first time, the maximum capacity on the Battery Health & Charging page was 100%. After all of these years, the capacity is down to 83%. If that figure drops below 80%, I will receive a message that says, “Your battery’s health is significantly degraded. An Apple Authorized Service Provider can replace the battery to restore full performance and capacity.”
To check the health of your iPhone’s battery, go to Settings > Battery > Battery Health & Charging.