Depends. If you don’t use any scheduled departure, or schedule charging, then it uses grid. If you do use them, then battery, even if plugged in. I really wish they had an option. It’s probably like that because of CA ToU rate plans. The programmers don’t know a world exists outside CA.