+1 to plugged in question
It might be your power settings as well. If your battery is on a low charge and your power settings make your laptop hibernate at a certain power level, then that'd be the reason it keeps looping back to hibernation.
Of course, you can always just hard reset your laptop and it shouldn't try to resume.