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.
Yep. I run Garuda and the main pull is that it’s a more user-friendly Arch with a lot of stuff I want to use preinstalled. I don’t really care about how XTREME it is or whether I might potentially get 1 FPS more.