On Wed, 20 Jan 2021, Greg D. wrote:
"On" is the keyswitch position 2, where the car can be driven (contactor is in). Pushing the keyswitch to the momentary position 3 (ICE "Start") toggles the Performance driving mode setting. A handy place to put that, I guess.
It is necessary to depress the brake and momentarily turn to position 3 to initiate the start-up sequence and put the car into driving mode.
The alternative suggested would be one single enumerated metric to reflect all the possible states. Something like:
* off * deepsleep * lightsleep * awake * accessory * starting * on
The condition that occurs when opening the door could be deepsleep or lightsleep rather than awake. -- Steve