111
submitted 5 days ago by lena@gregtech.eu to c/asklemmy@lemmy.world

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

top 50 comments
sorted by: hot top controversial new old
[-] betterdeadthanreddit@lemmy.world 119 points 5 days ago

I rip the plug out of the wall without warning. Gotta keep your machines on their toes or they'll get too comfortable and start plotting against you.

[-] killeronthecorner@lemmy.world 30 points 5 days ago

Else it gets the cord again

[-] taxon@lemmy.world 11 points 5 days ago

I've had to start counseling sessions with my MongoDB. It thinks I'm conducting stress tests, but really I'm just maintaining discipline.

[-] d00phy@lemmy.world 5 points 5 days ago

I know a real professional when I see one!

load more comments (1 replies)
[-] zaphodb2002@sh.itjust.works 38 points 5 days ago

You guys are turning off your computers?

[-] Zetta@mander.xyz 4 points 4 days ago

I am trying to be more energy conscious so I've been turning mine off more as of late, but ya in the past I typically left my machine up for 7 - 14 days and only power off/reboot after updating.

[-] stringere@sh.itjust.works 3 points 4 days ago* (last edited 4 days ago)

I remember older gaming forums where people would have their uptime in their post signatures.

Edit to add: upon reflection it was all the more impressive because almost all gaming PCs were Windows.

load more comments (2 replies)
[-] sxan@midwest.social 5 points 5 days ago

My laptop, I'd just suspend to RAM, unless I was going somewhere without it for a couple of days or more.

The desktop is always on. The monitors suspend, but everything else is sucking power. I expect with frequency scaling, it's not as bad as it used to be, but then, in ye oelden days I didn't do nightly backups to the cloud and disc, or sync data between servers and run other odd, automated jobs.

load more comments (1 replies)
[-] bjoern_tantau@swg-empire.de 46 points 5 days ago

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.

[-] Pika@sh.itjust.works 7 points 5 days ago

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

[-] ScientifficDoggo@lemmy.zip 5 points 4 days ago

I think that has something to do with battery storage mode flipping on iirc.

[-] napkin2020@sh.itjust.works 3 points 3 days ago

Server: Not once I have used anything else than reboot.

Desktop: Whatever happens when I close the lid.

[-] gerryflap@feddit.nl 32 points 5 days ago

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.

[-] nichtburningturtle@feddit.org 18 points 5 days ago

Even without considering any firehazard I simply enjoy starting from a clean slate every time I start a pc.

[-] gerryflap@feddit.nl 3 points 4 days ago

Yeah that as well. Same with my browser. I tend to configure my browser such that it clears all open tabs when closed.

[-] easily3667@lemmus.org 5 points 3 days ago* (last edited 3 days ago)

What is power...off?

Like back in the 90s??

[-] DaPorkchop_@lemmy.ml 5 points 3 days ago* (last edited 3 days ago)

Just chiming in to point out that powering off and then starting back up won't cause any additional SSD wear, reading from flash memory doesn't use up write cycles* (because there is no writing going on!). In fact, regularly restarting could be slightly more friendly for your SSD, because the /tmp directory, old log files, etc. get deleted on startup, freeing up the storage blocks used by the deleted files so that the SSD can use them for its internal wear balancing.

*technically, flash memory reads do very slightly degrade the data being read, but this effect is absolutely negligible compared to other forms of passive bit rot in flash memory and is basically irrelevant unless you're intentionally trying to corrupt data using reads (which won't happen because the flash controller will fix it before it becomes corrupt to the point of being illegible)

[-] Montagge@lemmy.zip 22 points 5 days ago

Power off because it boots in under a minute

[-] Skydancer@pawb.social 10 points 4 days ago

Power off to get the full security benefits of disk encryption.

[-] Churbleyimyam@lemm.ee 22 points 5 days ago

I'm in the habit of powering off so that if my laptop is lost or stolen I will have the peace of mind of my data being in an encrypted state.

[-] Nomad@infosec.pub 4 points 5 days ago* (last edited 5 days ago)

I hibernate for exactly that reason. Just have to ensure your swap partition is inside your crypto container.

[-] AceFuzzLord@lemm.ee 8 points 4 days 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.

[-] anachrohack@lemmy.world 6 points 4 days ago

I power off so that my drive encrypts when I'm not using it

[-] lena@gregtech.eu 4 points 4 days ago

Yeah I am a bit paranoic sometimes about it too

[-] skrlet13@feddit.cl 4 points 3 days ago

I poweroff. I have enough time to let it turn on and can save some energy. (Electricity is getting even more expensive)

[-] GreenKnight23@lemmy.world 4 points 4 days ago

y'all been powering down your systems?

had my servers up for like a decade or more...

[-] tired_n_bored@lemmy.world 13 points 5 days ago

I power it off to save electricity

[-] crony@lemmy.cronyakatsuki.xyz 13 points 5 days ago* (last edited 5 days 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 5 points 5 days 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.

[-] DaPorkchop_@lemmy.ml 2 points 3 days 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.

load more comments (1 replies)
[-] OmegaLemmy@discuss.online 2 points 3 days ago

whatever happens when I click shut off or the power button on my pc

[-] circuitfarmer@lemmy.world 3 points 4 days ago

Nearly always suspend. It just works for me and I've never had issues (Arch and Pop). I rarely, rarely have power outages so the end result is the same.

[-] midtsveen@lemmy.wtf 3 points 4 days ago

I'm lazy and use systemctl poweroff! 😆

[-] andybytes@programming.dev 3 points 4 days ago

I definitely shut down my systems from time to time just to make sure my network is configured correctly and shit doesn't go haywire because I'd rather have that happen than the power go out and everything comes crashing down

[-] quediuspayu@lemmy.world 9 points 5 days ago

Power off because I don't know when I'll be back. If I know I'm back in a few minutes or an hour? That shit stays on.

[-] fum@lemmy.world 5 points 4 days ago

Power off unless I'll be using it again soon.

[-] tauren@lemm.ee 3 points 4 days ago

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

[-] TheRealKuni@midwest.social 4 points 4 days 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 4 points 4 days ago

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

load more comments (1 replies)
[-] Appoxo@lemmy.dbzer0.com 2 points 4 days ago

I could care less about the 5 cycles from 10.000.000 total cycles (dunno the actual number) at least for my desktop.
As for my proxmox server: 5% wearout

[-] tehWrapper@lemmy.world 7 points 5 days 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.

load more comments (2 replies)
[-] Pika@sh.itjust.works 6 points 5 days ago

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.

load more comments (4 replies)
[-] nettie@lemmy.world 2 points 4 days ago

I use the hybrid: suspend to ram, then after 2 hours, automatically suspend to disk - in the final state it uses zero power. And, if you have encrypted your drive (you DO encrypt your drives, right?!) then you need to enter passphrase on resume from hibernate, so safer if device was nicked.

[-] WhyJiffie@sh.itjust.works 5 points 4 days 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.

[-] callyral@pawb.social 4 points 4 days ago

Power off, since my computers boots pretty quickly.

[-] tal@lemmy.today 5 points 5 days ago* (last edited 4 days ago)

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


or however long it takes to drain whatever battery is left while suspended


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.

Also, lithium batteries left in very low charge states will permanently lose capacity, and while there's a buffer built in there (i.e. 0% on your battery gauge doesn't mean that the thing is discharged to 0 volts), they'll also inexorably self-discharge a bit, and I'd just as soon keep them well away from that state. I've had devices, including laptops, that have a few minutes of battery life or won't work at all after having been left in a drawer for years.

[-] sneezycat@sopuli.xyz 5 points 5 days 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.

load more comments
view more: next ›
this post was submitted on 26 Apr 2025
111 points (100.0% liked)

Ask Lemmy

31345 readers
1269 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS