A method or system for controlling a vehicle having auto stop and auto start functions includes selectively inhibiting or disabling the auto stop or auto start functions in response to a detected vehicle position relative to an automatically learned vehicle route. The vehicle route is learned in response to previous drive cycles.