https://www.cyberpowersystems.com/produ ... /cp685avr/
If I am remembering correctly when I switched over to Windows recently it worked when there was a short power outage. Also if I shutdown the computer and pull the plug it still works properly (monitor and motherboard lights still on).
However when the computer is booted and there have been outages the UPS has not properly kicked in and kept the computer on.
I wonder if it would be better to even just remove the USB cable for the UPS. And I wonder, maybe systemd is required?
Here is some info from the terminal:
NOTE the Line Interaction None in the log, status. That's interesting and I couldn't find anything about it in the manual. Also it has said "failed" and rarely "passed" when I've tested in the past. I usually don't run a test because sometimes it has shut the computer off.
sudo pwrstat -status
Code: Select all
The UPS information shows as following:
Properties:
Model Name................... CP685AVR-G
Rating Voltage............... 120 V
Rating Power................. 390 Watt
Current UPS status:
State........................ Normal
Power Supply by.............. Utility Power
Utility Voltage.............. 124 V
Output Voltage............... 124 V
Battery Capacity............. 100 %
Remaining Runtime............ 19 min.
Load......................... 144 Watt(37 %)
Line Interaction............. None
Test Result.................. Low Battert at 2024/08/02 16:10:46
Last Power Event............. Blackout at 2024/05/10 08:57:54
Code: Select all
Alarm .............................................. On
Hibernate .......................................... Off
Cloud .............................................. Off
Action for Power Failure:
Delay time since Power failure ............. 60 sec.
Run script command ......................... On
Path of script command ..................... /etc/pwrstatd-powerfail.sh
Duration of command running ................ 0 sec.
Enable shutdown system ..................... On
Action for Battery Low:
Remaining runtime threshold ................ 300 sec.
Battery capacity threshold ................. 35 %.
Run script command ......................... On
Path of command ............................ /etc/pwrstatd-lowbatt.sh
Duration of command running ................ 0 sec.
Enable shutdown system ..................... On
Code: Select all
System:
Kernel: 6.1.0-23-amd64 [6.1.99-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-23-amd64 root=UUID=<filter> ro quiet
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.3_x64 Libretto July 31 2023 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Desktop System: Hewlett-Packard product: HP Z400 Workstation v: N/A
serial: <superuser required> Chassis: type: 6 serial: <superuser required>
Mobo: Hewlett-Packard model: 0B4Ch v: D serial: <superuser required> BIOS: Hewlett-Packard
v: 786G3 v03.61 date: 03/05/2018
CPU:
Info: model: Intel Xeon W3565 bits: 64 type: MCP arch: Nehalem level: v2 built: 2008-10
process: Intel 45nm family: 6 model-id: 0x1A (26) stepping: 5 microcode: 0x1D
Topology: cpus: 1x cores: 4 smt: disabled cache: L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB
L2: 1024 KiB desc: 4x256 KiB L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 2206 high: 2787 min/max: 1596/3193 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 1937 2: 2064 3: 2036 4: 2787 bogomips: 25597
Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: reg_file_data_sampling status: Not affected
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW; RSB filling; PBRSB-eIBRS:
Not affected; BHI: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GF106GL [Quadro 2000] vendor: Hewlett-Packard driver: nouveau v: kernel
non-free: series: 390.xx+ status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
process: 40/28nm built: 2010-16 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-1
empty: DP-1,DP-2 bus-ID: 0f:00.0 chip-ID: 10de:0dd8 class-ID: 0300 temp: 67.0 C
Device-2: EMEET HD Webcam C950 type: USB driver: snd-usb-audio,uvcvideo bus-ID: 7-2:3
chip-ID: 328f:0073 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: xfwm v: 4.18.0
driver: X: loaded: modesetting unloaded: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0.0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: DVI-I-1 model: Asus VW246 serial: <filter> built: 2011 res: 1920x1080 hz: 60 dpi: 92
gamma: 1.2 size: 531x299mm (20.91x11.77") diag: 609mm (24") ratio: 16:9 modes: max: 1920x1080
min: 720x400
API: OpenGL v: 4.3 Mesa 22.3.6 renderer: NVC3 direct-render: Yes
Audio:
Device-1: Intel 82801JI HD Audio vendor: Hewlett-Packard driver: snd_hda_intel bus-ID: 7-2:3
v: kernel chip-ID: 328f:0073 bus-ID: 00:1b.0 chip-ID: 8086:3a3e class-ID: 0102 serial: <filter>
class-ID: 0403
Device-2: NVIDIA GF106 High Definition Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 0f:00.1 chip-ID: 10de:0be9
class-ID: 0403
Device-3: EMEET HD Webcam C950 type: USB driver: snd-usb-audio,uvcvideo
Device-4: Realtek Audio USB type: USB driver: snd-usb-audio bus-ID: 7-4:4 chip-ID: 0bda:4938
class-ID: 0102 serial: <filter>
API: ALSA v: k6.1.0-23-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe vendor: Hewlett-Packard driver: tg3
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 01:00.0 chip-ID: 14e4:1684
class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: TP-Link Archer T2U PLUS [RTL8821AU] type: USB driver: rtl8821au bus-ID: 1-5:2
chip-ID: 2357:0120 class-ID: 0000 serial: <filter>
IF: wlan0 state: up mac: <filter>
RAID:
Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: d0c0 bus-ID: 00:1f.2
chip-ID: 8086:2822 rev: class-ID: 0104
Drives:
Local Storage: total: 931.51 GiB used: 109.05 GiB (11.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB size: 931.51 GiB block-size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 3B6Q scheme: MBR
Partition:
ID-1: / raw-size: 931.51 GiB size: 915.81 GiB (98.31%) used: 109.05 GiB (11.9%) fs: ext4
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 3 GiB used: 2.2 MiB (0.1%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A gpu: nouveau temp: 67.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 3330
Repos:
Packages: pm: dpkg pkgs: 2878 libs: 1630 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/librewolf.list
1: deb [arch=amd64] http://deb.librewolf.net/ bookworm main
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list
1: deb https://download.onlyoffice.com/repo/debian/ squeeze main
Info:
Processes: 243 Uptime: 12m wakeups: 1 Memory: 7.74 GiB used: 2.82 GiB (36.4%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
- Mike