Logout > Sleep mode not working (Antix 19 base 64 bit)

Forum Forums New users New Users and General Questions Logout > Sleep mode not working (Antix 19 base 64 bit)

  • This topic has 8 replies, 5 voices, and was last updated Jun 21-7:18 am by BobC.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37746
    Member
    HateDogsBarking

      Nothing happens when I click on Logout > Sleep mode.
      I only use this laptop for browsing so I just close my browser and let the screen go blank. Is my solution essentially the same as a sleep mode regarding power consumption?

      • This topic was modified 2 years, 10 months ago by HateDogsBarking.
      #37750
      Member
      Xecure
        Helpful
        Up
        0
        ::

        The logout menu is mostly used for restarting icewm. If you want you computer to sleep, hit the first Logout entry in the main menu and then choose “Suspend”.

        I only use this laptop for browsing so I just close my browser and let the screen go blank. Is my solution essentially the same as a sleep mode regarding power consumption?

        The only thing blanking does is kill the energy to the screen. That is the only energy it saves. It will still use energy in the background for any running process. Suspend/sleep is much better for reducing the energy used by the system.

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #37753
        Moderator
        BobC
          Helpful
          Up
          0
          ::

          If you have a “Sleep” function key, give it a try.

          The ones on my keyboards I press Fn and hold it while I press the key with a 1/4 moon shape on it.

          #37754
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            Yes, suspend definitely saves power consumption and allows you to promptly return to your system when you resume using it.

            Hibernation is even more saving. Basically you are shutting down the system, but instead of the usual shutdown and start up (shutdown, boot or reboot) you have saved the state of the system and you activate that state the next time you turn on the system.

            For anyone who is not certain, I hope that this is helpful.

            See also https://unixmen.com/suspend-vs-hibernate-in-linux-what-is-the-difference/

            --
            Brian Masinick

            #37755
            Member
            HateDogsBarking
              Helpful
              Up
              0
              ::

              Thank you very much for all your answers.

              Hibernation is even more saving. /

              Is it best practice to suspend or hibernate if I leave the computer for one to three hours? (I did read the source you provided)

              • This reply was modified 2 years, 10 months ago by HateDogsBarking.
              #37768
              Member
              Xecure
                Helpful
                Up
                0
                ::

                Is it best practice to suspend or hibernate if I leave the computer for one to three hours?

                That is a matter of opinion. Here is a bit of info to make up your mind.

                Suspend stores the computer state in RAM. To keep the information there requires a bit of energy (very very small amount), but everything else is in rest. very fast to restore your session after “waking up”.
                Hibernate requires SWAP. It stores the current state of the computer in the Hard Drive (swap partition). It uses even less energy to maintain this state. Takes longer to “wake up”.

                My opinion: suspend is better. It is faster and doesn’t waste write cycles on the hard drive. But for very long “dead” sessions (many days suspended), hibernate is better.

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #37770
                Member
                rayluo
                  Helpful
                  Up
                  0
                  ::

                  Nothing happens when I click on Logout > Sleep mode.

                  Same here. And I suspect that is a bug in our current antiX menu configuration or in icewm or whatever. But there is a workaround.

                  If you want you computer to sleep, hit the first Logout entry in the main menu and then choose “Suspend”.

                  This is the workaround.

                  let the screen go blank. Is my solution essentially the same as a sleep mode regarding power consumption?

                  No. Far from that.

                  Closing the lid typically just means your laptop can power off your screen, but all its cpu, hard disk, etc. are still up and running.

                  I happen to be using a Kill-a-Watt product connecting with my laptop, so I can give you some precise readings here. 🙂

                  * Laptop lid opened i.e. screen is on, while the laptop is idling: consumes 28 watts
                  * Laptop lid closed i.e. screen is off, while the laptop is idling: consumes 23 watts
                  (Of course the actual power consumption would be vary depends on your exact computer build and model, but you can get an idea here.)

                  * Laptop is suspended: consumes 1 watt.
                  In this status, you can wake it up by pressing the power button, and then it will be ready within 2 or 3 seconds.
                  So if you are staying at home nowadays, this can be a good option.

                  * If you hibernate or power-off your laptop, it will consume zero watt. But it will typically take within a minute or two to power up, depends on your laptop’s horsepower.

                  #37784
                  Member
                  HateDogsBarking
                    Helpful
                    Up
                    0
                    ::

                    Thanks again for all the information provided. I really appreciate the community over here.

                    #37787
                    Moderator
                    BobC
                      Helpful
                      Up
                      0
                      ::

                      In my ~/.icewm/keys file I have Win+s and Win+h assigned to suspend and hibernate.

                      Hibernate is very finicky as to whether it will work or not. Some systems it just works, and others I’ve spent days trying.

                      key “Super+s” sudo pm-suspend
                      key “Super+h” sudo pm-hibernate

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.