• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

UPS with Speed Shift, or PowerD

Scheduled Pinned Locked Moved Hardware
8 Posts 3 Posters 643 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X
    xantonin
    last edited by May 18, 2024, 7:35 PM

    I have a UPS connected to my pfSense box via USB and i want to have it go into a very conservative power saving mode during a power outage on UPS power only. It seems the best way to do this is with PowerD since it has options for battery. I can't find anything similar for Speed Shift.

    I guess I'm just looking for confirmation on this. Speed Shift sounds better for performance overall but if I can't get it to be dynamic during a power outage, maybe PowerD is better?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 18, 2024, 10:46 PM

      Hmm, I'm not sure powerd can 'see' the UPS power source. The battery there is usually for laptops where you might want a different power setting when it's unplugged.

      X 1 Reply Last reply May 18, 2024, 11:03 PM Reply Quote 0
      • P
        provels
        last edited by May 18, 2024, 10:55 PM

        Probably a moot point. Pretty sure powerd should drop the CPU to a minimum freq no matter the power, battery or line, if it's not under load. My 2.4 GHz system sits at 400MHz at idle. Try monitoring the Dashboard stats on/off battery.

        Peder

        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

        1 Reply Last reply Reply Quote 0
        • X
          xantonin @stephenw10
          last edited by May 18, 2024, 11:03 PM

          @stephenw10 Oh, that changes everything. I always thought it was for UPS power when on battery backup.

          I need to see what it recognizes the current status as, any ideas? I'll try digging around a bit...

          1 Reply Last reply Reply Quote 0
          • S
            stephenw10 Netgate Administrator
            last edited by May 19, 2024, 12:01 AM

            Pretty sure it's this:

            [24.03-RELEASE][admin@4200.stevew.lan]/root: sysctl hw.acpi.acline
            hw.acpi.acline: 0
            

            Though that has to be supported by the BIOS.That should indicate that 4200 is running on battery which clearly isn't true!

            X 1 Reply Last reply May 19, 2024, 12:40 AM Reply Quote 0
            • X
              xantonin @stephenw10
              last edited by May 19, 2024, 12:40 AM

              @stephenw10 said in UPS with Speed Shift, or PowerD:

              sysctl hw.acpi.acline

              Hm that didn't work for me.

              [24.03-RELEASE][admin@pfSense]/root: sysctl hw.acpi
              hw.acpi.thermal.tz0._TSP: -1
              hw.acpi.thermal.tz0._TC2: -1
              hw.acpi.thermal.tz0._TC1: -1
              hw.acpi.thermal.tz0._ACx: 71.1C 55.1C 50.1C 45.1C 40.1C -1 -1 -1 -1 -1
              hw.acpi.thermal.tz0._CRT: 119.1C
              hw.acpi.thermal.tz0._HOT: -1
              hw.acpi.thermal.tz0._CR3: -1
              hw.acpi.thermal.tz0._PSV: -1
              hw.acpi.thermal.tz0.thermal_flags: 0
              hw.acpi.thermal.tz0.passive_cooling: 0
              hw.acpi.thermal.tz0.active: 2
              hw.acpi.thermal.tz0.temperature: 52.1C
              hw.acpi.thermal.user_override: 0
              hw.acpi.thermal.polling_rate: 10
              hw.acpi.thermal.min_runtime: 0
              hw.acpi.cpu.cx_lowest: C1
              hw.acpi.cpu.cppc_notify: 1
              hw.acpi.reset_video: 0
              hw.acpi.handle_reboot: 1
              hw.acpi.disable_on_reboot: 0
              hw.acpi.verbose: 0
              hw.acpi.s4bios: 0
              hw.acpi.sleep_delay: 1
              hw.acpi.suspend_state: S3
              hw.acpi.standby_state: NONE
              hw.acpi.lid_switch_state: NONE
              hw.acpi.sleep_button_state: S3
              hw.acpi.power_button_state: S5
              hw.acpi.supported_sleep_state: S3 S4 S5
              
              1 Reply Last reply Reply Quote 0
              • X
                xantonin
                last edited by May 19, 2024, 12:49 AM

                Bummer, I found my own answer:

                [24.03-RELEASE][admin@pfSense.home.asevigny.net]/root: powerd -v
                powerd: unable to determine AC line status
                
                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by May 19, 2024, 12:55 AM

                  Yes, I only found one system here that reports that sysctl. And it probably shouldn't!

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received