I've found a solution.
There are two sections in this file:
the first for suspend and the second for hibernate.
Near the end of each section will be a line with:
It should be changed from “yes” to “no” to disable hibernate/suspend: