My phone already charges intelligently..
If you plug it in during the day, it knows you want full charge asap and goes to 90% in about an hour (then does the last 10% more slowly). For night charge it learns from (presumably) your alarm settings and your activity, and charges much more slowly, targeting 100% for when you get up (I guess this is to help battery longevity/cut heat build up etc). Shouldn't be hard to make an EV do the same based on learning your normal commute/usage patterns.