I am using Hardy and my icon (when moused-over) states: "Computer is
running on backup power, UPS discharging (100%)"
While the charge information is accurate, I am not currently on backup
power, nor am I discharging the UPS. In fact the
"battery.rechargeable.is_discharging" value in "gnome-power-
bugreport.sh" reads FALSE. (see below)
$ gnome-power-bugreport.sh
Distro version: DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
Kernel version: 2.6.24-19-generic
g-p-m version: 2.22.1
HAL version: 0.5.11rc2
System manufacturer: missing
System version: missing
System product: missing
AC adapter present: no
Battery present: yes
Laptop panel present: no
CPU scaling present: yes
Battery Information:
battery.charge_level.current = 100 (0x64) (int)
battery.charge_level.percentage = 100 (0x64) (int)
battery.charge_level.unit = 'percent' (string)
battery.model = 'TRIPP LITE UPS ' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = false (bool)
battery.remaining_time = 4050 (0xfd2) (int)
battery.reporting.current = 100 (0x64) (int)
battery.reporting.percentage = 100 (0x64) (int)
battery.reporting.technology = 'PbAc' (string)
battery.reporting.unit = 'percent' (string)
battery.serial = 'FW-2337 A ' (string)
battery.technology = 'lead-acid' (string)
battery.type = 'ups' (string)
GNOME Power Manager Process Information:
ypadeh 5890 0.0 0.3 223372 15404 ? Ss Sep10 0:01
gnome-power-manager
apadeh 8107 0.0 0.2 218088 11084 ? Ss Sep10 0:01
gnome-power-manager
HAL Process Information:
111 5278 0.0 0.1 40284 4860 ? Ss Sep10 0:03 /usr/sbin/hald
root 5343 0.0 0.0 22048 1288 ? S Sep10 0:00 \_ hald-runner
root 5359 0.0 0.0 17500 996 ? S Sep10 0:03 \_
hald-addon-hid-ups: listening on /dev/usb/hiddev0
root 5360 0.0 0.0 24156 1292 ? S Sep10 0:00 \_
hald-addon-input: Listening on /dev/input/event2 /dev/input/event1
/dev/input/event5 /dev/input/event6
root 5377 0.0 0.0 24168 1336 ? S Sep10 0:00 \_
/usr/lib/hal/hald-addon-cpufreq
111 5378 0.0 0.0 16672 996 ? S Sep10 0:00 \_
hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
root 5395 0.0 0.0 24156 1280 ? S Sep10 0:13 \_
hald-addon-storage: polling /dev/scd0 (every 2 sec)
$ hal-find-by-capability --capability "battery"
/org/freedesktop/Hal/devices/usb_device_9ae_1007_FW_2337_A_if0_hiddev
$ hal-find-by-capability --capability "battery" | xargs -n 1 hal-device
udi = '/org/freedesktop/Hal/devices/usb_device_9ae_1007_FW_2337_A_if0_hiddev'
battery.reporting.current = 100 (0x64) (int)
battery.reporting.percentage = 100 (0x64) (int)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0/usb/hiddev0' (string)
battery.reporting.unit = 'percent' (string)
info.parent =
'/org/freedesktop/Hal/devices/usb_device_9ae_1007_FW_2337_A_if0' (string)
info.product = 'Tripp Lite TRIPP LITE UPS ' (string)
battery.model = 'TRIPP LITE UPS ' (string)
info.udi =
'/org/freedesktop/Hal/devices/usb_device_9ae_1007_FW_2337_A_if0_hiddev'
(string)
info.addons = { 'hald-addon-hid-ups' } (string list)
battery.serial = 'FW-2337 A ' (string)
linux.hotplug_type = 2 (0x2) (int)
hiddev.product = 'Tripp Lite TRIPP LITE UPS ' (string)
battery.reporting.technology = 'PbAc' (string)
info.category = 'hiddev' (string)
linux.subsystem = 'usb' (string)
hiddev.application_pages = { 'Power Device Page' } (string list)
battery.technology = 'lead-acid' (string)
info.capabilities = { 'hiddev', 'battery' } (string list)
battery.remaining_time = 4050 (0xfd2) (int)
battery.rechargeable.is_charging = true (bool)
battery.charge_level.current = 100 (0x64) (int)
battery.rechargeable.is_discharging = false (bool)
linux.device_file = '/dev/usb/hiddev0' (string)
battery.charge_level.percentage = 100 (0x64) (int)
battery.present = true (bool)
hiddev.device = '/dev/usb/hiddev0' (string)
battery.charge_level.unit = 'percent' (string)
battery.type = 'ups' (string)
$ hal-find-by-capability --capability "battery" | xargs -t -n 1
hal-get-property --key battery.rechargeable.is_charging --udi
hal-get-property --key battery.rechargeable.is_charging --udi
/org/freedesktop/Hal/devices/usb_device_9ae_1007_FW_2337_A_if0_hiddev
true
--
Power Management Status icon displays incorrectly for Tripp Lite UPS
https://bugs.launchpad.net/bugs/66835
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs