Conditions for starting or stopping the engine or for deactivating the idle-start-stop mode