Live data from Hacker News

Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

dell.com

371–380 of 908 posts

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#371

Earlier quoted context omitted.

Serious question — why do people so frequently sleep rather than shut down? Is it to save time on booting up? Is it because you want other processes running? All of the pain points below are reasons why I just always shut down. I think I developed the habit at a time when sleep just never worked on my linux machine though, but that was years ago now. I’m speechless reading below that Windows wakes just to install upd…

I prefer to put my computer to sleep rather than shut it down. Closing the lid on my computer, putting it in my backpack, and heading home for the day is very natural. When I get back to work the next day, I open it up connect the cables, scan my fingerprint, and everything's back where I left it. I usually go at least a month between reboots, but that's highly dependant on when updates come out (and get approved by…

And on a Mac it works either way, as you will get almost all of your context back even if you shut down rather than sleep. Windows still seems to start up as a blank slate, unless I’m missing a setting somewhere.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#372

Earlier quoted context omitted.

Fedora doesn't even create swap partitions anymore, so you have to enable that first to enable hibernation, enabling it requires you to create a swap-partition, change things in systemd and meddle with the grub-configuration: https://www.ctrl.blog/entry/fedora-hibernate.html

TBF hibernation has never been entirely reliable under Linux due to hardware vendors being difficult (IIUC). Getting it working for me has typically involved trying to make sense of arcane kernel log messages. I never managed to on my current laptop.

I don't really understand why is it the case. I could understand that sleep is a complex mode, when hardware have to properly sleep and restore. But hibernate is just dumping RAM to disk. It should not require anything special from underlying hardware.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#373
post #188

Earlier quoted context omitted.

Windows keeps waking up for random things, the problem is getting worse with every Windows release and Microsoft keeps removing more and more controls. Just a few days ago I spent hours trying to fix the constant wake-ups. This time it was a waketimer set by the StartMenuExperienceHost.exe process! [1] Microsoft already removed the Power Management tabs in Device Manager for most devices (mouse, etc.). They also remo…

> Windows keeps waking up for random things, the problem is getting worse with every Windows release I resorted to removing the power plug from the PC every evening after it kept turning itself on during the night semi-randomly. It was in "suspend to disk" mode, whatever that is in more technical power-save jargon terms, not just "suspend-to-ram". I spent a significant amount of time going through Windows event logs…

I've seen the same behavior on a 10+y.o. system with Win11 on it. I started unplugging it every night and re-plugging it every day when I went to use it.

Funny thing has happened in the meantime, since getting a MB Air I haven't plugged it in for like 2 months now...

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#374

Earlier quoted context omitted.

Fedora doesn't even create swap partitions anymore, so you have to enable that first to enable hibernation, enabling it requires you to create a swap-partition, change things in systemd and meddle with the grub-configuration: https://www.ctrl.blog/entry/fedora-hibernate.html

If you create a swap partition manually during installation and there's no secure boot, Fedora will put the "resume=" parameter into your grub config automatically.

You still need to create `/etc/dracut.conf.d/resume.conf` with `add_dracutmodules+=" resume "` line and regenerate initramfs with `dracut -f`. Then it should work.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#375
post #320
post #187

Earlier quoted context omitted.

you have 32 GiB of RAM, gibibytes, meaning 32 * 1024^3. does your drive write at 3 GB/s (gigabytes) or Gb/s (gigabits)? if little b bits, it'll be more like 80 sec

if this comment is serious i strongly suggest you inform yourself about nvme drives. they're absolutely worth their money. i haven't encountered anyone in years that didn't have at least one in their pc/laptop, but if you dont: i strongly suggest you buy one. because writing 30 Gbyte sequentially generally does takes about 10 seconds.

When I got my work laptop, first thing I did is erased its NVMe SSD by writing garbage. It was fast first 30 seconds. In the end sustained write speed was around 60 MB/s. My old HDD works faster. It's fast enough in day-to-day usage, though.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#376

I have a XPS with Linux, closing the lid does almost nothing but turn the screenlock on. I always turn it off, reboot is in 2/seconds so it's no problem. Great laptop, had it for 7 years still faster than 2020 XPS with windows.

Yeah windows boot (realistically, wakeup too) has become ridiculously time-consuming on the few desktops I maintain that have to be windows. If I hadn't already switched everything else I control to Linux, boot time itself would be enough to motivate that.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#377

Earlier quoted context omitted.

Serious question — why do people so frequently sleep rather than shut down? Is it to save time on booting up? Is it because you want other processes running? All of the pain points below are reasons why I just always shut down. I think I developed the habit at a time when sleep just never worked on my linux machine though, but that was years ago now. I’m speechless reading below that Windows wakes just to install upd…

Hibernate is the best option by far but they seem to want to push away from it.

Yes. I agree. It seems to be getting harder to set up hibernate as an option. Regular (non HN) users might not even figure out that hibernate is a possibility. But it definitely is a better option than sleep.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#378
Basically the Dell XPS laptop SO BADLY DESIGNED it can not handle the excess heat of being put into a standard, used-by-everyone laptop bag!!

I would assume they just laid out the standard "Example Design" without any thermal design analysis that NORML ENGINEERING companies do with any of the latest deep nanometer parts.

The thing is: if you do NOT using good power supply or thermal design, the CPUs, RAM, Flash, etc. will only have an operating lifetime on the short end of the current 5-10 years usable life for these parts. If you overheat them, they will attain We are now at device physics lifespans that are so close to economic lifespans that now this kind of design MATTERS ENTIRELY. If you cut corners, you will quickly destroy your brand value because you will not be able to exceed economic lifespan expectations with your physical/physics-defined lifespan realities.

The standard business-as-usual will fail now because things have changed now.

Re: Do not leave XPS laptop in any sleep/hibernate/standby mode when placed in a bag

#380
post #75

Earlier quoted context omitted.

Hibernation in Windows hasn't gone anywhere. I have a Dell laptop in front of me and it has hibernate in the start menu as normal. Problem is that hibernation is slooow so people don't like to use it

Hibernation is not slow on modern PCs (XPS-15 9500 here), the problem is that Windows 10 can wake the PC from Hibernation at any time, and there's no option in BIOS to prevent that. I chased all the sources using Windows Event-log and "powercfg /lastwake" and then disable each, but it took DAYS to find them all and make sure it now stays in hibernation.

I had this problem with mt desktop PC, which would randomly wake up from hibernation in the middle of the night. My computer was in my bedroom, so this was very much a problem since the bright screen would always wake me up. I couldn't even shut off the screen since it didn't have a power button (Apple Thunderbolt display).

My solution was to reach around to the back of the tower and cycle the PSU power switch after hibernating the PC, every time.

Post reply on HN