Time your charge to end near your estimated departure time.
- Charging warms up the battery.
- Warm battery helps warm the cabin.
Also, use Tesla App to turn on cabin heat 10 or 15 minutes before planned departure. This uses power from charging cable for heat, leaving more juice in your battery. Also, at least in S & X, turning on cabin heat also enables battery heat.