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

    If you only need a basic server, laptops are AMAZING.

    • Full x86 software support
    • On the rare occurrence you need to directly interface with it (as opposed to through a webgui on another machine) you have a built-in keyboard and monitor.
    • They have a god-damned built-in UPS
    • davidgro@lemmy.world
      link
      fedilink
      arrow-up
      21
      ·
      2 months ago

      Note that the battery will generally stop working after a long enough time turned on and powered via AC, but otherwise yeah.

      • scott@lemmy.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        Well you have have battery profile settings so you could just set it to never charge above 75% and it will last a long time.

        Also UPSs need replaced like every 2 years and according to Jim Salter tend to catch fire if you don’t?

        • BCsven@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 months ago

          I guess I was lucky my UPS batteries lasted 10 years. The last year their charge capability dropped off fast, and one was starting to bulge. Not Lithium though, just LeadAcid, so more of a leak hazzard than fire hazzard

      • mriswith@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        edit-2
        2 months ago

        That depends on the age and quality of the laptop. It’s been a while since some started directly running off the cable when the battery is full.

        • nous@programming.dev
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          2 months ago

          Huh? If it can be used while it is charging - which is all laptops since forever - then it will run off the adapter while plugged in. Regardless of the battery state. You cannot charge a battery and discharge it at the same time - if it is charging then power must be coming from anything other then the battery. Epically with LiPo batteries which you cannot continue charging after they are full - doing so will cause them to burst into flames. So all LiPo charging circuits will cut off power to the cells once they reach a desired voltage - weather that is considered 100% (aka once it reaches 4.2V) or at a configurable lower amount.

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

            Their comment was indicating that laptop batteries will be damaged if left plugged in constantly. Which is a thing that can happen with some laptops, and most old ones.

            My comment was about how some modern laptops when left plugged in, will charge the battery and then start running directly from the wall-power once the battery is full. They bypass the charging once it is indicated to have a “full charge”.

            • nous@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              will charge the battery and then start running directly from the wall-power once the battery is full. They bypass the charging once it is indicated to have a “full charge”.

              That does not make sense. Batteries cannot be charged and discharged at the same time - they are either charging or discharging or neither. When a device is in use while it is plugged in the device is being run directly from wall power - and anything left if sent to charge the battery. The only devices that don’t do that is ones that power off while the charger is plugged in - which does not include any laptop that I have ever seen, generally just smaller devices.

              Modern laptops have smarter controllers that can turn off charging before the battery is full or when other conditions are met. But none are able to draw power from the battery while the battery is being charged - that just does not make any sense.

      • brachypelmasmithi@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        2 months ago

        Would pulling out the battery (if possible) and running the laptop only via AC be a viable way to prevent unnecessary battery wear?

        I remember back when I didn’t have a desktop PC yet I had a crusty old ASUS laptop that was basically at death’s door and I specifically remember just running it on AC alone because the battery was… uh… gone

          • brachypelmasmithi@lemm.ee
            link
            fedilink
            arrow-up
            3
            ·
            2 months ago

            Yeah, that’s about the right time period for my old ASUS LOL. Does that advice still hold up nowadays or is it outdated? Does it apply only to older machines maybe?

            • Justas🇱🇹@sh.itjust.works
              link
              fedilink
              arrow-up
              5
              ·
              2 months ago

              Not all batteries are easy to remove nowadays. Also, power management might have gotten better and the battery circuit mostly disconnects when not in use.

      • starman2112@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        I have a decade old lenovo yoga that still lasts like 40 minutes unplugged. Idunno how much a UPS that can supply a desktop for that long would cost, nor if that’s an embarrassingly short time, but it works well enough for me

        • Ptsf@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          UPS systems are generally configured for 90 minutes of operation, depending on the criticality of the system they’re connected to. The best ones are programable and will actually send graceful shutdown signals (when configured to do so) to your server cluster to prevent data loss that occurs during system blackouts. You can emulate this behavior on your laptop with a script that checks battery% every 10-15 minutes, sending a shutdown signal if it falls below a treshhold you set.