I use Ubuntu btw. Poweroff could use more write cycles on the SSD because it has to read everything at startup, but suspend has to keep supplying power to the RAM

  • kalkulat@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    After shutting down anything in use, I use suspend set for a 35-minute delay. Most evenings I listen to bed-time audio. Ubuntu hasn’t been terribly reliable, works about 2/3 of the time.

  • mannycalavera@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    To be honest the experience over multiple laptops and multiple Linux distributions with regards to suspend or hibernate has been absolutely terrible for me. I now set my browser to remember all my tabs and simply shut down my machine when I’m not issuing it. It starts up in 30 seconds or less which is maybe 15 seconds more than waking from suspend or hibernate and it’s not likely to break our require complicated set up.

    🤷

    • naeap@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Yeah, because of the same experience for the last 2 decades, I always shut my stuff down as well.

      Then I gave an old laptop with Linux to my neoprene. And without further discussion or thinking, he just pressed the power button, when he wanted it to be off - which triggered some kind of sleep mode
      I was so fucking nervous during that, as I had never tested for that, and for the young generation growing up with smartphones that was the obvious move.
      But surprisingly it works like a charm and goes into some kind of standby.
      At least I didn’t got any complains…

      • Panda@lemmy.today
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Isn’t neoprene a synthetic material?

        My husband also uses the power button to power off his PC. I didn’t even know it was a thing until he asked me to do it for him at some point and I was very confused. He’s on Windows. I didn’t know this worked on Linux as well (though I know it’s a thing on laptops). Is there a way to configure what it does (on PC) like it does on laptops?

        • smort@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          2 months ago

          IIRC in the UEFI (aka BIOS), there’s usually a setting to dictate what a tap of the power button does—usually sleep, hibernate, or power off.

          Try tapping F10, F12, or Del during early startup to get into the UEFI setup

        • naeap@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          2 months ago

          Ah, fucking auto correct

          Should have read: my nephew ;⁠-⁠)

          Edit: and regarding your question:
          Yeah, there some power management tools/deamons to configure in Linux, how to handle what.
          Depends a bit on your distribution/environment, which tools are available - or make sense to be installed

  • tauren@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Suspend. The amount of power required to keep RAM alive is negligent.

    • TheRealKuni@midwest.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Suspend. The amount of power required to keep RAM alive is negligent.

      I believe, based on context, that you mean to use the word “negligible.” The sentence means the opposite of what you intended it to mean if you use “negligent.” As in, “It would be negligent to waste that much power.”

      • nettie@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        I agree with negligent! Using suspend to ram for extended periods, eg nightly or over weekend will kill your battery life.

  • WhyJiffie@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    I suspend it, until I get around to set up hybernation. I don’t care about startup time. I care about all the windows being there exactly as I left them, without exception.

  • Dizzy Devil Ducky@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Power off because usually when I turn my laptop off, I’m going to be keeping it off for a long enough period of time that suspend would just not be worth the battery drain.

  • dan69@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Haven’t needed it to, I guess even after kernel updates you can log off and log back on to set the changes.

    • CronyAkatsuki@lemmy.cronyakatsuki.xyz
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      2 months ago

      Sorry, but to clarify no. When your kernel updates if you just log out and log back in you will still keep the same kernel version because linux keeps running a program on same version until you completely turn the program off.

      That’s why with the kernel and kernel modules you need to completely restart your system for the kernel to shutdown and use the updated version, it’s just the way that linux works.

      Hell you can even use a program after uninstalling it until you close it for a year if you wanted to ( once untistalled my termninal emulator, but still had it’s window opened so just reinstalled it an hour later after realising I can’t spawn a new terminal window )

      • mormund@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        There is live (kernel) patching which circumvents the need for a restart. But that is meant for servers were you cannot afford the downtime and will only work for a while. Sooner or later you will have to restart to get the latest patches.

  • Sneezycat@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    I use suspend-then-hibernate on my laptop (arch). It has a Nvidia graphics card, so it gives problems sometimes, but it mostly works fine.

    I set it up like that in case I disconnect the laptop, so it will hibernate before running out of battery; it will also hibernate after 16h of being suspended (to save power), but I usually turn it back on before that.

    I like suspending because my laptop has an HDD, and it is way faster to turn it back on this way.

  • tehWrapper@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    Maybe cause I’m old but boot times are so quick if I need to move i just shutdown throw it in my backpack and go. I don’t want it on in any fashion while in my bag and hibernating to disk means all my shell sessions and anything else disconnected anyhow.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 months ago

      hibernating to disk means all my shell sessions and anything else disconnected anyhow.

      If you can run tmux on the remote system, can manually reattach when you reconnect.

      If you use the UDP-based mosh instead of the TCP-based ssh — it uses ssh to bootstrap auth, then hands off to its own protocol — (a) the system can use local prediction in some cases, leaving it feeling snappier, but also (b) the thing will automatically reconnect and resume sessions. I mostly find it useful on flaky/slow links, but it is also kind of neat to just close a lid, and then pop it open again days or a week later and then just resume working without any user-visible disruption.

      • tehWrapper@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        Finally got around to playing with mosh today and with it using ssh for auth it was so simple to setup. It actually works really well!

        Thanks for the recomendation

  • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    I use a laptop, so I iust put it to sleep. I only restart it when I do updates or when the system crashes. I also turn it off (when I remember to do so…) if I leave it unattended in untrustworthy environment due to encryption.

    I also have a mini PC, but I only turn it on when needed, which isn’t often since I haven’t really figured out what to use it for. It’s running Linux Mint headless, because Mint fits my laziness. I can use it via Tailscale, but I don’t really know what to do with it. So far it’s been mostly useful with OpenWebRX, SDR++ server which also offers compression unlike RTL_TCP as well as being able to use any SDR++ supported SDR, and I also intended to use Navidrome on it as well. My intention was to just download full albums on there, rather than picking out individual songs, but I still have the urge to put all of it on my phone.

  • CronyAkatsuki@lemmy.cronyakatsuki.xyz
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 months ago

    I just keep my laptop on for weeks on end, until the kernel updates or something else that needs a restart, last 6 months I prob only turned it off 7 times.

    And no, I don’t really feel any effects cause it’s linux which doesm’t get clogged up like windows and power usage just idling is the same as just suspending.

    Also personally don’t use stuff like suspend or hibernate ever. Even have them completely disabled on my systems.

    Note: I’m on nixos not ubuntu tho.

    • Sneezycat@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      Maybe there’s not a huge difference, but the power usage of suspending is definitely lower, since only the RAM is getting power. CPU and disks have some idle power consumption, and you can have some background processes that wouldn’t be executed while suspended.

      • CronyAkatsuki@lemmy.cronyakatsuki.xyz
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Depends on what you run on your system, but when my system idles my cpu is at literal 0%, ram at 600mb and disk usage is 0% (nvme), which ends up my total power usage to about 3W on idle or something like.

        It’s a laptop so doesn’t use a lot.

      • DaPorkchop_@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        This assumes you have a machine which supports proper S3 sleep, which newer devices increasingly do not :(

        A lot of modern laptops only support S0 “modern standby”, which basically means the kernel puts all processes including itself on pause, but the CPU and all other components are still powered despite being idle.