I don't have an electric car, but I can't imagine this is a challenging problem at all. All you need is a target charge level. If you're going on a trip tomorrow, set it to 100%. If your normal commute is 20 minutes, no reason to charge past 75% or even 50%.