A method, comprising: setting an engine intake airflow parameter based on an engine oil viscosity index. In this way, engine operating conditions that depend on engine friction and engine intake airflow, such as engine idling speed and engine friction torque, may be determined and implemented with an increased consistency. This in turn may decrease the possibility of engine stalls and improve engine performance, particularly at low temperatures.