Has Android gotten a lot better on that front? Last I developed for Android was after they had some big push to improve battery life and they were still a ton worse.
I had a lot of experience with tons of devices from both ecosystems (because I was at least part-time in mobile dev) from about 2011-2019 and a consistent hallmark of Android devices—regardless of manufacturer, Google's own devices weren't much better—was that their battery life, and especially idle battery life, was markedly worse than iOS devices. In fact, I came into that world as an Android user, and gaining extensive exposure to both ecosystems was what convinced me I'd be better off in almost every way by switching. Android devices only stopped being an absolute joke, by comparison, near the end of that span, but were still lagging on both performance (as far as actual in-practice UX, not benchmarks) and real-world battery life. But it's entirely possible they've closed the gap since.