We present the modified approach to the classical Bogolyubov-Krylov averaging, developed recently for the purpose of PDEs. It allows to treat Lipschitz perturbations of linear systems with pure imaginary spectrum and may be generalized to treat PDEs with small nonlinearities.