A Jurdjevic-Quinn type theorem for nonlinear systems