UPS with Speed Shift, or PowerD
-
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?
-
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.
-
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.
-
@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...
-
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!
-
@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
-
Bummer, I found my own answer:
[24.03-RELEASE][admin@pfSense.home.asevigny.net]/root: powerd -v powerd: unable to determine AC line status
-
Yes, I only found one system here that reports that sysctl. And it probably shouldn't!