Skip Navigation

Do you use poweroff or suspend on your Linux systems? Why?

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

70 comments
  • 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.

  • I always power off any computers that I won't be using anymore for the day. Be it desktops or laptops. My parents always taught me that leaving devices on (or even connected to power) when not using them was a fire hazard. Although I think it's a bit overblown, powering off anything I don't need has stuck as a habit and I see no reason to change it. With SSDs the startup time had become fast enough to make me stop caring. The wear and tear on the SSD is also not that big of an issue. My laptop and its SSD are from 2014 and have been subjected to the worst of my programming abilities, yet they still function fine.

  • Depends.

    My desktop gets powered off because I don't use it often and it sucks a lot of energy and is loud.

    My Steam Deck gets suspended when I'm not using it because that's usually in the middle of a game and I don't want to hear the game sounds all the time or accidentally do something.

    My laptop is running 24/7. At night I use it to listen to science videos to help me sleep. And in the day I watch stupid YouTube videos to help me cope with life.

    • Not to mention the steam deck has a weird bug on it that if you leave it powered off for too long, for some reason it decides to just not turn on anymore unless you hook it to power. Super annoying because it will turn on and say something like 80 or 90% power, but the button won't actually boot the system unless it has a power hookup. I've on a few occasions had to use reverse power charge from my phone to the deck to trick it into booting on the go. Once you hear the beep saying its turning on you can unplug it. Weirdest thing

  • With how fast boot times are nowadays? I shutdown nightly and save me the hassle of having to worry about some weird oddity occurring, usually it doesn't but every once and a blue moon plasma hangs on the lockscreen and I get greeted with either a broken desktop or a pitch black screen, both usually are easiest to resolve via rebooting anyway.

    • Hmmm, but in the wee hours is when I have my backups and automated maintenance scheduled.

      • I have timeshift running hourly regardless if using the system. Once the initial backup is complete, any actual performance drops are very negligible since it uses incremental backups, I don't even notice the program is running most the time. As for automated maintenance, I don't really have anything like that, I run an update manually every few days, but I could probably configure unattended-updates to do it for me, I just don't like the idea of automating that.

  • Always power off everything and anything i can eg , routers, TV,, switches, desktop PC etc

  • For my full desktop, I turn it off when I'm not using it. It basically exists to do heavy compute tasks. I basically do that a few times a week. There's no reason to leave it on if I'm not in the middle of a job. That would be true regardless of the O.S. I'm using on it.

    My main computer, I suspend. Usually, I try to make sure that happens on purpose because Ubuntu has this impossible to troubleshoot behavior1 that seems to happen more often if it falls asleep on its own.

    I would be more inclined to shut it down but I'm particular about my windows and it takes what feels like an hour to get everything just so after reboot. I can't deal with that every day. (Nor am I thrilled about how often Ubuntu LTS wants me to reboot for updates. My desktop needs Ubuntu Studio LTS but my main computer doesn't. When I get time and energy, I'm switching it to Mint so I can deal with someone else's obnoxious choices for a change without learning an entirely new distro.)

    1 The behavior is not recovering video on wake. It does seem to be working but following the commands I have memorized to shut it down from inside a virtual terminal don't work. The only way to get it down is to hold the power button for "4 seconds" or pull the power plug.

    • I'm like you regarding my windows and what goes where, and KDE Plasma is a godsend. You can define window behavior like which window goes on which virtual desktop, what monitor and whatever size; which should stay on top and which below or can remove title bars and set transparency. after defining the window rules just put everything you need into autostart. reboot and see the magic happen ;-)

  • 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.

    • 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.

      • 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.

  • 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.

    • 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.

      I normally use mosh in conjunction with tmux, since with mosh alone, there's no way for another host to reconnect to a mosh session...but another host can connect and take over a tmux session being run by a mosh session.

  • suspend has to keep supplying power to the RAM

    When I close my laptop's lid, I have it set up to suspend for five minutes, then hibernate.

    That lets me close the lid and move the laptop to somewhere nearby without using much battery power, but if it gets left closed for long, the thing will hibernate, so it won't drain the battery.

    That's HandleLidSwitch=suspend-then-hibernate in /etc/systemd/logind.conf, and HibernateDelaySec=300 in /etc/systemd/sleep.conf.

    Any other system just gets shut down.

    EDIT: Note that I don't believe that this is necessary to avoid data-loss. I think that the default on Debian is to suspend, but there's another default to hibernate when the battery becomes extremely low, so either way, a laptop sitting on a shelf for a week should wind up hibernated. But with the defaults, it's going to have a laptop with critical battery next time you open it up, and with my settings, it'll have about as much charge as when you closed the thing.

  • 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.

  • Power off. I never used hibernation nor suspend (even on Windows) and as I don't use some of my computers for weeks, it just doesn't make sense to keep them suspended for so long. And now that I'm on Fedora Atomic Desktop with auto-updates, I would have to reboot regularly anyway in order to apply updates.

    Only exception is the Steam Deck for which I kept suspend so I can pick up my games where I left off.

  • 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.

  • Arch testing here. Suspend/Hibernate can and will break at any time, especially with newer s2idle-only systems, so I tend to keep suspending to a minimum, and also end sway before suspending.

    Eg. right now I have to keep systemd-suspend etc. from freezing user.slice, as that fails and goes into an endless loop, ending in needing a hard reboot anyway.

70 comments