Could be wrong but I guess it more likely communicates with the charger. The car will always try to draw if it's plugged in, but most chargers can be switched on ("charge") and off ("don't charge") remotely. It's probably quite trivial to have something watch the price of power and on/off as appropriate