You are not logged in.
I use Gnome and upower does not commicate with my Tripp-Lite UPS unless I unplug the USB cable and replug it. I installed poweralertd along with optional mako and that made no difference.
I have poweralertd running in user space and according to https://github.com/emersion/mako I don't need to explicitly start mako. Still nothing unless I unplug the USB and replug.
Any ideas?
● poweralertd.service - UPower-powered power alerter
Loaded: loaded (/usr/lib/systemd/user/poweralertd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-09-06 07:36:32 EDT; 2min 4s ago
Invocation: c644fd3b75bb4ce7a3c26ab802d6d619
Docs: man:poweralertd(1)
Main PID: 903 (poweralertd)
Tasks: 1 (limit: 37600)
Memory: 344K (peak: 1.7M)
CPU: 5ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/poweralertd.service
└─903 /usr/bin/poweralertd
Sep 06 07:36:32 lurch systemd[844]: Started UPower-powered power alerter.
● upower.service - Daemon for power management
Loaded: loaded (/usr/lib/systemd/system/upower.service; disabled; preset: disabled)
Active: active (running) since Fri 2024-09-06 08:07:14 EDT; 4min 49s ago
Invocation: 874741e41d104bd9b5b75f5b7ac1a668
Docs: man:upowerd(8)
Main PID: 909 (upowerd)
Tasks: 4 (limit: 37600)
Memory: 4M (peak: 4.5M)
CPU: 94ms
CGroup: /system.slice/upower.service
└─909 /usr/lib/upowerd
Sep 06 08:07:14 lurch systemd[1]: Starting Daemon for power management...
Sep 06 08:07:14 lurch systemd[1]: Started Daemon for power management.
$ upower -d
Device: /org/freedesktop/UPower/devices/ups_hiddev2
native-path: /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb3/3-1/3-1:1.0/usbmisc/hiddev2
vendor: Voltronic
model: SMART1500LCDT
serial: 3403AV4SM89AC02675
power supply: yes
updated: Fri 06 Sep 2024 08:28:08 AM EDT (8 seconds ago)
has history: yes
has statistics: yes
ups
present: yes
state: fully-charged
warning-level: none
time to empty: 3.0 hours
percentage: 100%
icon-name: 'battery-full-charged-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Fri 06 Sep 2024 08:18:38 AM EDT (578 seconds ago)
has history: no
has statistics: no
ups
present: yes
state: fully-charged
warning-level: none
time to empty: 3.0 hours
percentage: 100%
icon-name: 'battery-full-charged-symbolic'
Daemon:
daemon-version: 1.90.5
on-battery: no
lid-is-closed: no
lid-is-present: no
critical-action: PowerOff
Last edited by lenhuppe (2024-09-07 12:01:59)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline
Many attempts to find a workaround have all failed.
I tried resetting the UPS, resetting the USB bus and rescanning the USB bus.
Unless I unplug and replug the USB cable the UPS is not seen.
I returned the UPS for a refund
If you find a solution please post it.
Last edited by lenhuppe (2024-09-08 12:14:36)
"I'm suspicious of people who don't like dogs, but I trust a dog when it doesn't like a person." -- Bill Murray
Offline