In 8 hours it uses 20% of the battery. When Windows or Mac are put to sleep, the damn things can sleep for a week! This is the case with Linux on multiple laptops.

Is there some kind of manipulation going by ring -1 that detects Linux is running? Is Linux not respecting some procedure and kissing a step?

  • LeTak@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    I just want the option to put my Linux laptop into S3 ACPI power State. Daim you modern W11 hardware and S0!!!

  • Maestro@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    Windows doesn’t sleep. Ever. Sleep is now just a nickname for Modern Standby, which is just running in low power mode doing a whole bunch of shit. The amount of times I come back to my laptop and it has gotten stuck at a reboot is just embarrassing. I dual-boot and have Grub, so whenever Windows tries to reboot itself it gets stuck.

    People have gotten their laptops damaged because they thought they were sleeping and put them in a bag, when Windows decides to try to update itself while the fans are blocked inside the bad. Bam, heat damage.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      Shouldn’t modern laptops have temperature sensors and just deal with it in some way? I had this happen to me a few times with my old Thinkpad from 12 years ago. Threw it into the backpack in a rush and an hour later I’d pull it out, hot and doing something I didn’t want it to do… But it never suffered any kind of damage from that. Was just very annoying.

        • dbdr@nord.pub
          link
          fedilink
          English
          arrow-up
          0
          ·
          18 days ago

          I would expect overheating protection to occur at the hardware level: first downclock the CPU and forcibly just halt if heat gets critical for too long.

          • Ghoelian@piefed.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            18 days ago

            Sure but the update can already have done some stuff, leaving your machine in a half-updated and maybe corrupted state. If downclocking doesn’t work there really isn’t a good solution here.

            Edit: oh wait there is, DON’T UPDATE WHEN SLEEPING. And on top of that, just don’t update without my explicit approval at all. Thankfully I run linux where, if it’s not the default already, it’s a config value away.

        • hendrik@palaver.p3x.de
          link
          fedilink
          English
          arrow-up
          0
          ·
          18 days ago

          Sure 😆 In the meantime I found a solution for all the Windows Update debacle. Bought a newer laptop, went home and just wiped the entire SSD before installing Linux. Now I don’t get any dual-boot or Windows update. Also goes to standby 100% of the time. ¯_(ツ)_/¯

      • selokichtli@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        18 days ago

        Also, the failure gets registered forever, for example, in RAID disks you’ll never get a 100% healthy disk with such situation.

  • Die4Ever@retrolemmy.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    Kubuntu on my laptop sleeps really well, I can leave it in my backpack for days and it will lose less than 10%, better than when it was running Windows

  • Baggie@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    I once did a deep dive on sleep mode for some problem a friend was having. I’m now convinced it might be the worst thing I’ve ever seen in modern computing. It’s globally horrendous, poorly implemented, and causes random problems in unfathomable places. It’s amazing it ever works at all.

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    I think my current Dell laptop is fine. It’ll lose some amount of percent each day. But most of it is still there after two or three days.

  • FishFace@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    My previous laptop was fine - it lost a few percent per day. Now with s0ix, it’s more like 10 or 20% per day. Is just turn it off if it weren’t fit the fact that it also takes ages to boot for some reason. Sigh. And hibernate doesn’t work with an encrypted disk.

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 days ago

        Yeah… I don’t exactly the relationship between S0ix, s2idle, and “modern sleep” - I’m sure there’s some overlap but to me it’s all the same: it’s not old-fashioned S3 sleep, and it just doesn’t work properly. I remember reading that with my laptop specifically, S3 was replaced with S0ix so I’m pretty sure that’s the right term in this case ;)

      • FishFace@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 days ago

        There’s some combination of circumstances which prevents it. I think specifically it’s encrypted swap, a kernel setting and maybe something else… I can’t remember, except that when I looked at it I couldn’t be fucked trying to get it sorted.

  • majster@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    Windows has same problems. Its hot bag syndrome. Issue lies at hardware and firmware level. FYI my T480 configured for deep sleep looses only 1% per day sleeping.

    I didn’t configure hybernation though.

  • parsimon@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    18 days ago

    I recommend using hibernate (suspend to disk): your computer will “sleep” for 10 years without draining. The only cost is about 7 seconds to boot on modern hardware. For short interruptions with instant wakeup, you can still use light sleep states.

    It combines perfectly with LUKS-encrypted root and swap partitions: your data is safe even if someone steals your computer and swakes it up.

    • onlinepersona@programming.devOP
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      Hibernate with an encrypted swap and systemd boot takes forever for me. How do you manage in 7 seconds? How much RAM do you have?

    • Quailman@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      Hibernate doesn’t work with secure boot/kernel lockdown for $REASONS, a lot of folks can’t even use it. Supposedly if Linux can determine you’re resuming from an encrypted partition it will work, but I was never able to get it to work with a swap file on BTRFS on LUKS

      • parsimon@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 days ago

        True, kernel developers should resolve the Secure Boot issue with hibernation, but the development focus is on servers, not laptop computers. Also, hibernation should probably use a dedicated hibernate image file instead of requiring a huge swap partition. That being said, it works regardless of hardware capabilities if you turn off secure boot and just configure a LUKS-encrypted SWAP partition. You should figure this out before you install the OS.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      Unfortunately, hibernate does not work on all devices. I believe, it depends on the motherboard and BIOS…

    • rockerface🇺🇦@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      0
      ·
      18 days ago

      I’ve found full shutdown and subsequent boot up on my current Bazzite setup takes less time then hibernate used to in Windows 10 on the same PC. Haven’t even felt the need to look into setting up swap (Bazzite uses zram by default).

      • MouldyCat@feddit.uk
        link
        fedilink
        arrow-up
        0
        ·
        18 days ago

        full shutdown and subsequent boot up on my current Bazzite setup takes less time than hibernate

        maybe, but a full shutdown and reboot does not restore all your apps, open documents, terminals etc exactly as they were.

    • antianarchist@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      I am impressed how you seem to be worse at using Linux than my 80yo parents. There is a term for this: PEBKAC.

        • antianarchist@sopuli.xyz
          link
          fedilink
          arrow-up
          0
          ·
          17 days ago

          Wow, you pulled up a user having an issue with Linux. Should I now do the same with Windows? Or OSX?

          How many times did Windows Update break a working installation in the past? Just a rhetoric question, because the answer is given.

          • makeshift0546@lemmy.today
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            17 days ago

            I’ve never once actually had windows break on an update. Nix otoh is why immutable nix exist 🤣

            You can just run everything in containers so you’ll never ever have to break your machine running Pacman 🤣

            Super easy, super reliable.

              • makeshift0546@lemmy.today
                link
                fedilink
                arrow-up
                0
                ·
                17 days ago

                And how much of the world is run on Linux desktop specifically?

                You want to compare a desktop environment to a fucking webserver that probably doesn’t even have a gpu or have any concept of Wayland? 🤣Jesus Christ gtfo with that shit. Actually, that’s hilarious. What a dumb fucking statement.

                • antianarchist@sopuli.xyz
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  17 days ago

                  Ah yes, of course, the ignorance is strong. It doesn’t cost a lot to just look up the biggest Windows update failures. And it is so fun to be fully dependent on one company, to just wait until they hopefully fix things again. But I am glad yoi are happy with the “success” of Windows, while ignoring the fact that it is preinstalled on pretty much any machine. Funny enough that Microsoft puts extra effort into making Windows as fast and stable as Linux. But of course, they only do this because they are so fast and reliable in the first place.

                  By now, it feels like discussing politics with a MAGA. You go ahead and believe whatever you feel like, I couldn’t care less about it. So long.

              • makeshift0546@lemmy.today
                link
                fedilink
                arrow-up
                0
                ·
                17 days ago

                I know immutable nix definitely doesn’t exist to fix broken ass updates 🤣 The hoops you jump though to convince yourself that Linux is easier is fantastic and unrelenting. Little has changed in 30 years of Linux.

    • dust_accelerator@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      18 days ago

      For common hardware, yeah it does. With my new lenovo work laptop it was just that - worked fine out of the box. Even dock and multiple displays…

      Exotic hardware always needs tinkering, Windows is no different there in my experience.

      • JasonDJ@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 days ago

        Only issue I’ve had with Bluetooth in Linux is that Microsoft made me upgrade the firmware in my Xbox controllers to use it…

  • the_riviera_kid@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    17 days ago

    From what I heard, the sleep mode on the steam deck is just the default linux sleep mode. It works almost flawlessly.

    I don’t think it’s quite true though because I can leave it in sleep mode for days and it just fires back up where it left off with almost no noticeable battery drain. If I put my desktop pc to sleep (bazzite) it acts like a stroke victim. IF it manages to wake up. Usually it just has to be restarted so I don’t waste my time and just shut it down now.

  • TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    18 days ago

    When Windows or Mac are put to sleep, the damn things can sleep for a week!

    When I put my Windows work laptop to sleep, it damn well can sleep for a week. In fact, it sleeps so well that you could fell a tree next to it and it still wouldn’t wake up.

    They should really rename that button to “coma”. “Sleep” implies you can wake it up.