And it’s crap across the OSes. On Linux laptops don’t wake up from sleep, on Windows they keep waking up when nobody asks for it.

In our home office room there’s three laptops. My private one running Fedora, my work PC that sadly runs Windows and my wife’s laptop also running Windows.

My work laptop and my wife’s laptop keep waking up wasting electricity, and my private laptop needs a hard reset to wake it up every second time.

That feature should be stupid simple, yet it doesn’t work across the board.

Rant over.

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

    And it’s crap across the OSes.

    Never had these problems with MacBooks. It’s probably one advantage of the OS and hardware being made by the same company.

    • TVA@thebrainbin.org
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      Agreed, I disable sleep on all laptops other than my MacBook and my work laptop which manages to drain its battery and overheat itself on my bag semi frequently.

      The MB has never had negative issues with sleep.

  • SheeEttin@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    The problem is it’s not stupid simple, it’s actually fairly complicated. Each piece of hardware and its driver must be suspended. The GPU is a particularly tricky one. Its processor must be suspended, and the state saved. In the kernel, the driver must suspend its execution, and likewise save its state. Then on resume, each half has to reload and begin execution again. And if there’s any mismatch in the resumed states, the GPU and/or driver crash and probably take the kernel with it.

    Now do that for the Wi-Fi, Bluetooth, sound card, USB, disk controller, and every other device.

  • illusionist@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Never had I problems with sleep. Neither with arch, suse, fedora nor ubuntu. Neither with Gnome nor with kde.

    Not even with windows.

    Must be the hardware (brand).

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

      My system76 wont even go to sleep anymore. It just pretends, then if i put it in a backpack for a bit it is burning hot.

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

          Possibly, tbh I spent a few hours on it and gave up, the laptop is due for a replacement anyways. It has other problems too, the touchpad connector is very flaky. Not sure I would go with them again…

          • illusionist@lemmy.zip
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            Good to know, so far their on my buy list. Maybe not anymore :D My laptop is old but still works very good

            • cevn@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              10 days ago

              Turns out that the touch pad was waking it up, once I fixed that sleep worked normally again. The only last issue is that the USB c port does not really work for charging so you have to lug their power adapter everywhere like a portable desktop. But if you could do USB to barrel power it would be completely fixed. Sometimes I have to apply strong downward pressure tl the touch pad but nbd.

              Spent 30 or so hours fixing all the issues with the laptop but now its great! Not for the faint of heart lol.