You're right, Android will simply shut down instead, which is what iOS is attempting to avoid.
My GF's LG G5 will simply shut off suddenly at about 16% battery left.
That's a much better user experience!
Well, no, that's just a lie I read over and over again since everyone thinks he is a battery (and audio) expert as of late
Why I know that this is a lie? I am using smartphones since the existence of smartphones and let me assure you: Yes, batteries degrade over time, but they NEVER secretly had to throttle the phone to avoid shutdowns.
Never. Ever.
I don't know how old you are and if you only have experience with iPhones, but I guess that's the case, because that's (almost) an iPhone only problem, sorry.
Everyone I know with an Iphone (including me until last year) was complaining about it.
I think apple trained its customers to think that hardware is supposed to be **** after a year

I really don't get why people think that and call other people idiots, people, who SHOULD KNOW that this wasn't even the case with the iPhone a few years ago.
Ps: And YES, it also does happen to other phones occasionally, but THEN it is ALSO considered to be a faulty device. The customer knows it and the manufacturers don't lie about it, unlike apple. (This means you could return it with no questions asked, not sent away because the battery test went fine

)
Faulty devices are faulty devices, no matter who build it. Please don't expect so less from current hardware. If it fails, it's a fail. Simple as that.