[Pkg-utopia-maintainers] Bug#531521: hal reports same battery two times
Armin Berres
armin+debian at space-based.de
Tue Jun 2 01:48:27 UTC 2009
Package: hal
Version: 0.5.12~git20090406.46dc48-2
Severity: normal
Hal reports my internal battery two times, which confuses e.g. the
battery applet of KDE (and this one then confuses me).
>From lshal:
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_C1F4_0'
battery.charge_level.current = 5457 (0x1551) (int)
battery.charge_level.design = 11217 (0x2bd1) (int)
battery.charge_level.last_full = 11217 (0x2bd1) (int)
battery.charge_level.percentage = 48 (0x30) (int)
battery.charge_level.rate = 5241 (0x1479) (int)
battery.is_rechargeable = true (bool)
battery.model = 'Primary' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = false (bool)
battery.remaining_time = 3956 (0xf74) (int)
battery.reporting.current = 379 (0x17b) (int)
battery.reporting.design = 779 (0x30b) (int)
battery.reporting.last_full = 779 (0x30b) (int)
battery.reporting.rate = 364 (0x16c) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mAh' (string)
battery.serial = '02225 2008/05/23' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'Hewlett-Packard' (string)
battery.voltage.current = 16801 (0x41a1) (int)
battery.voltage.design = 14400 (0x3840) (int)
battery.voltage.unit = 'mV' (string)
info.capabilities = {'battery'} (string list)
info.category = 'battery' (string)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Primary' (string)
info.subsystem = 'power_supply' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_C1F4_0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'power_supply' (string)
linux.sysfs_path = '/sys/class/power_supply/C1F4' (string)
udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_C1F4'
battery.charge_level.current = 5760 (0x1680) (int)
battery.charge_level.design = 11217 (0x2bd1) (int)
battery.charge_level.last_full = 11217 (0x2bd1) (int)
battery.charge_level.percentage = 51 (0x33) (int)
battery.charge_level.rate = 4420 (0x1144) (int)
battery.is_rechargeable = true (bool)
battery.model = 'Primary' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = true (bool)
battery.rechargeable.is_discharging = false (bool)
battery.remaining_time = 4444 (0x115c) (int)
battery.reporting.current = 400 (0x190) (int)
battery.reporting.design = 779 (0x30b) (int)
battery.reporting.last_full = 779 (0x30b) (int)
battery.reporting.rate = 307 (0x133) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mAh' (string)
battery.serial = '02225 2008/05/23' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'Hewlett-Packard' (string)
battery.voltage.current = 16803 (0x41a3) (int)
battery.voltage.design = 14400 (0x3840) (int)
battery.voltage.unit = 'mV' (string)
info.capabilities = {'battery'} (string list)
info.category = 'battery' (string)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Primary' (string)
info.subsystem = 'power_supply' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_C1F4' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'power_supply' (string)
linux.sysfs_path = '/sys/class/power_supply/C1F4' (string)
acpi reports just one battery:
| $ acpi
| Battery 0: Charging, 52%, 01:27:43 until charged
Greetings,
Armin
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-rc5 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages hal depends on:
ii acl 2.2.47-2 Access control list utilities
ii adduser 3.110 add and remove users and groups
ii consolekit 0.3.0-2 framework for defining and trackin
ii dbus 1.2.14-2 simple interprocess messaging syst
ii hal-info 20090309-1 Hardware Abstraction Layer - fdi f
ii libc6 2.9-12 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.14-2 simple interprocess messaging syst
ii libdbus-glib 0.80-4 simple interprocess messaging syst
ii libexpat1 2.0.1-4 XML parsing C library - runtime li
ii libgcc1 1:4.4.0-4 GCC support library
ii libglib2.0-0 2.20.1-2 The GLib library of C routines
ii libhal-stora 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii libhal1 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer - share
ii libpolkit2 0.9-3 library for accessing PolicyKit
ii libsmbios2 2.0.3.dfsg-1 Provide access to (SM)BIOS informa
ii libstdc++6 4.4.0-4 The GNU Standard C++ Library v3
ii libusb-0.1-4 2:0.1.12-13 userspace USB programming library
ii libvolume-id 0.141-1 libvolume_id shared library
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii mount 2.13.1.1-1 Tools for mounting and manipulatin
ii pciutils 1:3.1.2-3 Linux PCI Utilities
ii pm-utils 1.2.5-2 utilities and scripts for power ma
ii policykit 0.9-3 framework for managing administrat
ii udev 0.141-1 /dev/ and hotplug management daemo
ii usbutils 0.82-1 Linux USB utilities
Versions of packages hal recommends:
ii eject 2.1.5+deb1+cvs20081104-6 ejects CDs and operates CD-Changer
ii libsmbios-bin 2.0.3.dfsg-1 Provide access to (SM)BIOS informa
Versions of packages hal suggests:
pn gnome-device-manager <none> (no description available)
-- debconf-show failed
More information about the Pkg-utopia-maintainers
mailing list