[Bug 156078] Battery widget shows two batteries, laptop and mouse, but they look the same.

GerbilSoft gerbilsoft at verizon.net
Tue Apr 8 08:23:17 CEST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=156078         




------- Additional Comments From gerbilsoft verizon net  2008-04-08 08:23 -------
New solidshell battery listing:

udi = '/org/freedesktop/Hal/devices/computer_power_supply_0'
  parent = '/org/freedesktop/Hal/devices/computer'  (string)
  vendor = ''  (string)
  product = 'Li-ion'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'PdaBattery|UpsBattery|PrimaryBattery'  (0x3)  (enum)
  Battery.chargePercent = 100  (0x64)  (int)
  Battery.rechargeable = false  (bool)
  Battery.chargeState = 'NoCharge'  (0x0)  (enum)

udi = '/org/freedesktop/Hal/devices/usb_device_46d_c50e_noserial'
  parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'  (string)
  vendor = 'Logitech, Inc.'  (string)
  product = 'MX1000 Laser Mouse'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'MouseBattery'  (0x4)  (enum)
  Battery.chargePercent = 71  (0x47)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'NoCharge'  (0x0)  (enum)

udi = '/org/freedesktop/Hal/devices/acpi_BAT0'
  parent = '/org/freedesktop/Hal/devices/computer'  (string)
  vendor = ''  (string)
  product = 'Battery Bay'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'PdaBattery|UpsBattery|PrimaryBattery'  (0x3)  (enum)
  Battery.chargePercent = 100  (0x64)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'NoCharge'  (0x0)  (enum)

It seems that the battery bay and actual battery are now identified as two separate devices. This is with HAL 0.5.10, while the previous listing was with HAL 0.5.9.


More information about the Panel-devel mailing list