I have looked through the advanced power setting but didn't find out a method.
What I want is to let my laptop automatically hibernate after certain minutes of sleep. But if the laptop is not sleeping, it should never hibernate. I cannot figure out a way to do this. If I allow my laptop to hibernate after certain minutes, it will hibernate no matter whether it is sleeping or not.
This may sounds strange. On the one hand, I often download big files overnight. When doing this, I will keep the lib open to prevent Windows from stopping my download software. On the other hand, when I close the lib, I want my laptop to sleep. Moreover, in order to save electricity, I want it to hibernate after some time of sleep.