[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

default hibernate method

Recently I found a problem with the hibernate method on my
It seems that the platform method performed two actions (see:
- first prepare a ram image
- then suspend to disk
As far as I can understand, this is intended for a quicker resume.

However this causes energy drainage from battery in the "hibernate"
status to keep the RAM image alive. This behaviour is not desirable.

The solution is to use the "shutdown" method instead of the "platform":

		echo shutdown > /sys/power/disk

The problem is that I don't know how to implement it permanently in a
clean way. I'm forced to place a hook somewhere in the boot process in
order to set this option.

I would have expected the existence of some /etc/defaults/pm in which
setting the default hibernate method.

Is that anything that escapes me?


Reply to: