• paequ2@lemmy.today
    link
    fedilink
    arrow-up
    23
    ·
    1 day ago

    Is systemctl suspend different than closing the lid or clicking “sleep” on your DE’s power menu?

    • basiclemmon98@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      22
      ·
      edit-2
      1 day ago

      No, it’s not different, I just use Arch and have no power menu anymore, nor did I usually close my laptop lid while I was still planning to use it. I usually just powered it down fully because it used to start very fast, but I think the laptop bios battery is dying or something, because it turns on much slower now than it did before. So finding the actual command that triggers the suspend state was so epic, because I can script and bind it now.

      • Ascense@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        3 hours ago

        You may find another systemd command helpful: systemd-analyze. It has different subcommands you can use to figure out what exactly is slowing down your boot times.

      • mina86@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        24
        arrow-down
        3
        ·
        1 day ago

        I just use Arch

        You have only yourself to blame then. You’ve chosen a distribution which expects users to learn how the system works and it’s on you to figure out how to suspend the system.

        I think the laptop bios battery is dying

        This is unlikely. If the battery was dying, you’d be loosing BIOS/UEFI settings including time. Once the computer starts up, the battery is unused.

        • oeuf@slrpnk.net
          link
          fedilink
          arrow-up
          20
          ·
          1 day ago

          “I take full responsibility for my Arch install” is one of my favourite lines from a linux youtuber.

        • basiclemmon98@lemmy.dbzer0.comOP
          link
          fedilink
          arrow-up
          10
          ·
          edit-2
          1 day ago

          Yes, that’s why I chose the distro I chose, and why this was not a serious post were I was actually upset, I enjoy learning and reading, I just wanted to make a post about suspend bc it has made me happy. I am also aware the bios battery does nothing once it’s booted, once it’s booted the performance is the same as it has always been. So I assumed the cmos battery is dying, but not dead enough to lose settings yet.

          • ferret@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            10 hours ago

            The CMOS battery only maintains the data in the bios’ volatile memory and runs the RTC when the system has no power, it is completely out of the picture when data is being read from said volatile memory.

          • mina86@lemmy.wtf
            link
            fedilink
            English
            arrow-up
            8
            arrow-down
            1
            ·
            23 hours ago

            I am also aware the bios battery does nothing once it’s booted

            The CMOS battery does nothing from the moment computer is turned on. If you’re saying booting takes longer, that’s not battery’s fault.

            So I assumed the cmos battery is dying, but not dead enough to lose settings yet.

            That’s not how CMOS battery work. It’s even good enough or you’re loosing the clock.