Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: 14.04 Hibernate / Suspend Not Working as expected

  1. #1
    Join Date
    Jul 2014
    Beans
    12

    14.04 Hibernate / Suspend Not Working as expected

    Salutation to all.

    My System:
    Samsung ATIV Book 9 Lite
    Clean Install and latest update of Ubuntu 14.04
    Disk Partitioning:

    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 242845695 121421824 83 Linux
    /dev/sda2 242847742 250068991 3610625 5 Extended
    /dev/sda5 242847744 250068991 3610624 82 Linux swap / Solaris

    Questions:

    1) Why does suspend not work as expected, right out the box? My computer goes to sleep but still uses power and drains completely.
    2) Why does hibernation not work as expected, right out the box? My computer does not seem to hibernate at all, not through the GUI and nor through the shell.

    What I have tried:

    Initially, I did not have a SWAP partition, which I have created from free space.
    Did everything on this page: https://help.ubuntu.com/community/Po...ment/Hibernate
    Tried TuxOnIce which did not work. > sudo pm-hibernate will just give me 1 flash on screen and then nothing.

    Any help to get my laptop computer to suspend and or hibernate (not using battery power when closing the lid), would be greatly appreciated.

    Thank you.
    Last edited by chris262; July 16th, 2014 at 07:59 AM.

  2. #2
    Join Date
    Jul 2014
    Beans
    12

    Re: 14.04 Hibernate / Suspend Not Working as expected

    Here is a pastebin of my:

    Code:
    /var/log/pm-suspend.log > http://paste.ubuntu.com/7802002/
    
    and 
    
    /var/log/hibernate.log > http://paste.ubuntu.com/7802011/ 
    
    and output of my /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla
    
    [Re-enable hibernate by default in upower]
    Identity=unix-user:*
    Action=org.freedesktop.upower.hibernate
    ResultActive=yes
    
    [Re-enable hibernate by default in logind]
    Identity=unix-user:*
    Action=org.freedesktop.login1.hibernate
    ResultActive=yes
    
    
    the output of: cat /proc/cmdline (even though I have --purged and removed tuxonice and related packages)
    
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-30-generic-tuxonice root=UUID=ccbd5574-ce3d-4f34-b5e3-e95c8df9828f ro quiet splash vt.handoff=7
    
    
    the output of lspci -k | grep -iA2 VGA
    
    00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Temash [Radeon HD 8250/8280G]
        Subsystem: Samsung Electronics Co Ltd Device c730
        Kernel driver in use: radeon


    I am yet to search through more posts on the forum. Interesting read here: http://ubuntuforums.org/showthread.php?t=2111580&page=3 but looks like no resolution at the end.

    Any help please?

    Thank you.
    Last edited by wildmanne39; July 25th, 2014 at 02:58 PM. Reason: added code tags

  3. #3
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 14.04 Hibernate / Suspend Not Working as expected

    The suspend behavior you described is as expected. I believe it's analogous to sleep in Windows, which also uses a small amount of power.

    Hibernate is another story. It works well in some machines, not on others. For this reason, it's usually disabled on Ubuntu by default.
    Jane, stop this crazy thing!

  4. #4
    Join Date
    Jul 2014
    Beans
    12

    Re: 14.04 Hibernate / Suspend Not Working as expected

    Sleep and Suspend is synonymous to each other and the words are just being used on different software platforms. The idea is to have a lower power consumption when sleeping / suspending as opposed to when leaving the computer in its normal state.

    Nevertheless, I am looking for anything I can do to get my computer to sleep / suspend and or hibernate in order to save battery power.

    UPDATE: upgraded to latest kernel; 3.15.6 with no change

    Anyone else?
    Last edited by chris262; July 22nd, 2014 at 07:11 AM.

  5. #5
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 14.04 Hibernate / Suspend Not Working as expected

    So you're saying sleep on your system uses more than just a little power?
    Jane, stop this crazy thing!

  6. #6
    Join Date
    Jul 2014
    Beans
    12

    Re: 14.04 Hibernate / Suspend Not Working as expected

    1 month old Samsung ATIV Book 9 Lite, suspend does not work as expected because my fully charged laptop, going into suspend (pm-suspend) will be drained after say 24 hours or so, maybe a little longer. That is not how suspend should work.

    This is a fresh install of 14.04 on a SSD drive with 4GB RAM and no other tweaking / changes were done. I only leave Chrome open and the odd Libre document and .pdf file. (Yes I know Chrome takes a lot of power but really??)

    That is why I am trying to get hibernate to work, in the hope that this would provide me with less power consumption

    I am starting to feel a little weird thinking that I am the only one having this problem?

    The only thing that I can think of is that the hibernation issue is originating from the fact that I did not install a SWAP partition prior to my install of 14.04 and that the newly, manually created SWAP partition (also tried SWAP file) just would not work with hibernation.

    Anyone else please?!

  7. #7
    Join Date
    Oct 2011
    Location
    Galiza
    Beans
    3,380
    Distro
    Ubuntu Development Release

    Re: 14.04 Hibernate / Suspend Not Working as expected

    Quote Originally Posted by chris262 View Post
    1 month old Samsung ATIV Book 9 Lite, suspend does not work as expected because my fully charged laptop, going into suspend (pm-suspend) will be drained after say 24 hours or so, maybe a little longer. That is not how suspend should work.
    I have to reiterate IT IS how suspend should work. Unlike hibernation - and stemming from the necessity to keep the session 'alive' - suspension requires energy to keep the RAM up and running while at the some time shutting everything else down. So, sooner or later, your battery WILL drain. How exactly this isn't the expected behavior? Is it different, I mean worse, than in Windows? Some diofferences are to be expected for sure and I wouldn't be surprised if the Windows drivers are optimized for that purpose.

    The only thing that I can think of is that the hibernation issue is originating from the fact that I did not install a SWAP partition prior to my install of 14.04 and that the newly, manually created SWAP partition (also tried SWAP file) just would not work with hibernation.
    What swap file????
    Of course, hibernation always require at least the same but preferably higher space than RAM. That said it should work with a newly created swap partition - not file! - provided it is correctly recognized as such - and used - by the OS. Otherwise hibernation won't work, period.
    Galiza Nação!

  8. #8
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,809
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 14.04 Hibernate / Suspend Not Working as expected

    Please use code tags - if you are using New Reply button - highlight text and use the # button in the text box header.

    If using Quick Reply then [code] at the beginning and [/code] at the end.

  9. #9
    Join Date
    Jul 2014
    Beans
    12

    Re: 14.04 Hibernate / Suspend Not Working as expected

    Thank you for your input Vladlenin5000

    I have to reiterate IT IS how suspend should work. Unlike hibernation - and stemming from the necessity to keep the session 'alive' - suspension requires energy to keep the RAM up and running while at the some time shutting everything else down. So, sooner or later, your battery WILL drain. How exactly this isn't the expected behavior? Is it different, I mean worse, than in Windows? Some diofferences are to be expected for sure and I wouldn't be surprised if the Windows drivers are optimized for that purpose.
    Correct yes, it is different; worse from Windows. But now knowing that this behaviour should be expected, I guess there is nothing more to it then. Suspend works as expected, but just not as one would expect, coming from a Microsoft Windows background.

    What swap file????
    Of course, hibernation always require at least the same but preferably higher space than RAM. That said it should work with a newly created swap partition - not file! - provided it is correctly recognized as such - and used - by the OS. Otherwise hibernation won't work, period.
    I ended up reading about crypttab and urandom, hence the mention of a swap file.

    I am getting a "SWAP header not found" when trying to hibernate.

    Anything else I could try to get hibernation to work?

  10. #10
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 14.04 Hibernate / Suspend Not Working as expected

    What is the output of
    Code:
    sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
    Jane, stop this crazy thing!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •