An extended method of Lyapunov for the analysis of dynamical systems with weakly attracting equilibria