Hibernate Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
stemmo
Posts: 3
Joined: Wed Dec 04, 2019 1:19 pm

Hibernate

Post by stemmo »

Hi all,
I'm looking a way to save maximum energy when the boar is unused.
Right now I'm turning the boar to suspend mode but I'd like to go ahead with the hibernation.
So I downloaded the hibernate command and run it.
The board goes to sleep but if I measure the power, it is very similar to the suspend one and it is not zero, the expected value.
I guess it is not a 'real' hibernation.

Is it possible to land in a hibernation mode with zero consumption ?

Thanks, regards
User avatar
Joulinar
Posts: 2072
Joined: Sat Nov 16, 2019 12:49 am

Re: Hibernate

Post by Joulinar »

Hi,

i don't think it's possible to have zero power consumption. This would be same like power off/down.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Hibernate

Post by MichaIng »

Hibernation, at least on Windows, means a real shutdown/zero power, but with current RAM-content/system state stored to the disk.

Not sure, the manpage states clearly it is "Suspend to disk" => zero power: https://manpages.debian.org/buster/hibe ... .8.en.html
On the other hand the package description states "Suspend to RAM or disk": https://packages.debian.org/en/buster/hibernate
Not sure how to choose or force a certain mode. Probably it also depends on what the kernel/board supports. It uses the /sys/power/state interface, hence one could go through these files (via cat) and check what is actually supported.
Post Reply