It was clearly worse than the battery that came with my refurbished (!) phone, which never did that; it just couldn't hold a decent charge anymore. I won't even go into the absolutely ridiculous experience I had with the repair shop, like not honoring booked times and whatnot and having me wait in line for ages, both to drop off and pick up my phone.
My current phone has lost some of its battery health as reported by the OS, but still gives me over a day of use, but when the time comes to fix it, I'll go directly to Apple.
Also quite noticeable that the laptop battery market became much smaller once the batteries became an internal component (around 2015) that you can't see without opening it up completely. These also used to be behind a slider or two
People don't dare unscrew electronics, even if it's about as trivial as replacing a light bulb in a fixture that requires removing a screw. With phones having the battery inside as well now, not above the sim tray for example, I wonder how much such legislation is going to help the average person