Energy inequalities for cutoff functions and some applications