Hysteresis added to engine start/stop functions to prevent chattering.