As in title. I’m leaving my minipc in a place for summer, and there are power outages sometimes. I wanted to configure it to shutdown when on UPS power, and was curious about how people go about doing that.

As a bonus, how do I automatically boot it up when regular power is back on? It’s an N100.

Should further info be needed, please let me know.

  • NaiP@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 days ago

    Thanks for the NUT idea. I’ll look into it and reply back again when I’m next awake. Thank you.

    I was worried about the powering back, unfortunate. Will look for ups’ that can help with this. If anyone knows of this please let me know.

    • yaroto98@lemmy.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days ago

      So, something to note is that a lot of UPSs have a configuration for sensitivity. Your power actually fluctuates quite a bit, but you don’t notice. I have my UPS on the default sensitivity, and there have been a few instances of it going onto battery power when none of my other devices even flickered.

      So, with that in mind, I use NUT. My server has it setup and it’s set to gracefully shutdown after my UPS hits 25% battery remaining. That way false positives don’t shut it down, nor will small flickers, nor will an outage less than an hour or so. My UPS says I can run for about 90mins on current load.