Closed samyongsj closed 6 years ago
Wow! Great to know! :) No issues?
No issues with hibernation, not even with an encrypted installation. =) I do have swap as large as my ram. However sleep drains the battery rather quickly (roughly 10% in 3 hours iirc). Which was what made me try hibernation in the first place.
Hi,
Have you made something to enable it ? I am on the last 17.10 from stockmind and my GPD restard few seconds after the sudo systemctl hibernate Thansk for you help
Hello, can you copy and paste the output of your problem-reporting script? (refer to my first post) It will help us figure out what the problem is. I did not do anything special to enable hibernation. Do check if you have enough swap space; when you hibernate the amount of ram used + swap should not be larger than the amount of swap available. Other more experienced members please correct me if I am incorrect.
Thanks ;) Here is my log. You can see that I loose also Wifi juste after the restart (have to reboot to have again wifi)
15:30:36 dbus-daemon: Successfully activated service 'org.gnome.Logs'
15:30:36 wpa_supplicant: wlp1s0: Failed to initialize driver interface
15:30:36 NetworkManager:
And free -h give me Mem : 1,0 G used - 5,6G free - 426M shared Swap file : 0B used - 1,2G free
_
I have updated my grub cfg with values for resume and resume_offset. I have no more issue with wifi but a new error "Swap header not found!". Don''t know if it is important but i am using a dual boot (win 10 and ubuntu)
Im not using dual boot fwiw. I'm sorry im totally out of my depth here.. perhaps stockmind can help. i found that its usually faster to shutdown and after boot, open the applications i need (the gpd pocket cant open too many at one go anyway) than restoring from hibernation. its not exactly good for the emmc either but of course its nice to be able to.
hi after following this guide my pocket can hibernate !!! https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition and start at "Now use uswsusp"
Great! I've updated the README accordingly! :) I link README to this and close for now.
Hibernation is working using
sudo systemctl hibernate
Thanks for all the work you have put into this.
Kernel: 4.15.0-rc5-custom-matlala-3-1-2018 Desktop Environment: Display: :1 Monitor: DSI1 connected primary 1920x1200+0+0 right (normal left inverted right x axis y axis) 95mm x 151mm Scripts: gpdfand gpdscreen gpdscreen-indicator EFI: [ 0.000000] efi: EFI v2.40 by American Megatrends EFI Release Date: 08/07/2017