I have to disagree on one point – that iOS home screens somehow look more orderly because they’re full of icons arranged in a strict top-left-to-bottom-right fashion. It doesn’t look any less cluttered than an overly full Windows desktop.
I found desktops that limit themselves to core functionality and maybe a nice wallpaper to be better looking and more usable since the days of Windows 95 and that hasn’t changed since.
That “strict grid of icons” look certainly is uniform across iDevices and that’s what appeals to Apple but I never found it to be particularly attractive.
Android already does that, no AI required. Some fairly simple math is enough.
The device first charges to 80% and holds there. It also calculates how long it will need to charge from there to full and when it will need to resume charging so that it will hit 100% just before the next alarm goes off. Then it does that.