Bug 156078 - Battery widget shows two batteries, laptop and mouse, but they look the same.
Summary: Battery widget shows two batteries, laptop and mouse, but they look the same.
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-18 07:36 UTC by David Korth
Modified: 2009-06-11 22:51 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
lshal without the mouse battery state (180.64 KB, text/plain)
2009-02-10 20:07 UTC, Olivier RONCALI
Details
lshal with the mouse battery state (180.29 KB, text/plain)
2009-02-10 20:11 UTC, Olivier RONCALI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Korth 2008-01-18 07:36:18 UTC
Version:            (using KDE 4.0.0)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0) 
OS:                Linux

I have a ThinkPad T60p with one system battery. I also have a Logitech MX1000 wireless mouse. The battery widget was showing two batteries, one at 14% and one at 99%, and I was quite confused as to why it was showing a second battery at such a low charge. Using lshal I found the culprit, the MX1000.

Laptop battery:
udi = '/org/freedesktop/Hal/devices/acpi_BAT0'
  battery.alarm.design = 3938  (0xf62)  (int)
  battery.alarm.unit = 'mWh'  (string)
  battery.charge_level.capacity_state = 'ok'  (string)
  battery.charge_level.current = 78020  (0x130c4)  (int)
  battery.charge_level.design = 84240  (0x14910)  (int)
  battery.charge_level.granularity_1 = 1  (0x1)  (int)
  battery.charge_level.granularity_2 = 1  (0x1)  (int)
  battery.charge_level.last_full = 78750  (0x1339e)  (int)
  battery.charge_level.low = 200  (0xc8)  (int)
  battery.charge_level.percentage = 99  (0x63)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.charge_level.unit = 'mWh'  (string)
  battery.charge_level.warning = 3937  (0xf61)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = '92P1133'  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = false  (bool)
  battery.reporting.current = 78020  (0x130c4)  (int)
  battery.reporting.design = 84240  (0x14910)  (int)
  battery.reporting.granularity_1 = 1  (0x1)  (int)
  battery.reporting.granularity_2 = 1  (0x1)  (int)
  battery.reporting.last_full = 78750  (0x1339e)  (int)
  battery.reporting.low = 200  (0xc8)  (int)
  battery.reporting.rate = 0  (0x0)  (int)
  battery.reporting.technology = 'LION'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.reporting.warning = 3937  (0xf61)  (int)
  battery.serial = '1436'  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Panasonic'  (string)
  battery.voltage.current = 12486  (0x30c6)  (int)
  battery.voltage.design = 10800  (0x2a30)  (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 = 'Battery Bay'  (string)
  info.udi = '/org/freedesktop/Hal/devices/acpi_BAT0'  (string)
  linux.acpi_path = '/proc/acpi/battery/BAT0'  (string)
  linux.acpi_type = 0  (0x0)  (int)
  linux.hotplug_type = 4  (0x4)  (int)

MX1000 battery:
udi = '/org/freedesktop/Hal/devices/usb_device_46d_c50e_noserial'
  battery.charge_level.current = 1  (0x1)  (int)
  battery.charge_level.design = 7  (0x7)  (int)
  battery.charge_level.last_full = 7  (0x7)  (int)
  battery.charge_level.percentage = 14  (0xe)  (int)
  battery.command_interface = 'csr'  (string)
  battery.csr.has_res = false  (bool)
  battery.csr.has_sms = false  (bool)
  battery.csr.is_dual = false  (bool)
  battery.is_rechargeable = true  (bool)
  battery.present = true  (bool)
  battery.type = 'mouse'  (string)
  info.addons = {'hald-addon-usb-csr'} (string list)
  info.bus = 'usb_device'  (string)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery'  (string)
  info.linux.driver = 'usb'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'  (string)
  info.product = 'MX1000 Laser Mouse'  (string)
  info.subsystem = 'usb_device'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c50e_noserial'  (string)
  info.vendor = 'Logitech, Inc.'  (string)
  linux.device_file = '/dev/bus/usb/005/016'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1.3'  (string)
  usb_device.bus_number = 5  (0x5)  (int)
  usb_device.can_wake_up = true  (bool)
  usb_device.configuration_value = 1  (0x1)  (int)
  usb_device.device_class = 0  (0x0)  (int)
  usb_device.device_protocol = 0  (0x0)  (int)
  usb_device.device_revision_bcd = 9488  (0x2510)  (int)
  usb_device.device_subclass = 0  (0x0)  (int)
  usb_device.is_self_powered = false  (bool)
  usb_device.linux.device_number = 16  (0x10)  (int)
  usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1.3'  (string)
  usb_device.max_power = 70  (0x46)  (int)
  usb_device.num_configurations = 1  (0x1)  (int)
  usb_device.num_interfaces = 1  (0x1)  (int)
  usb_device.num_ports = 0  (0x0)  (int)
  usb_device.product = 'MX-1000 Cordless Mouse Receiver'  (string)
  usb_device.product_id = 50446  (0xc50e)  (int)
  usb_device.speed = 1.5 (1.5) (double)
  usb_device.speed_bcd = 336  (0x150)  (int)
  usb_device.vendor = 'Logitech, Inc.'  (string)
  usb_device.vendor_id = 1133  (0x46d)  (int)
  usb_device.version = 1.1 (1.1) (double)
  usb_device.version_bcd = 272  (0x110)  (int)

Suggested fix: Either the MX1000 battery should be hidden from view, or it should have an emblem marking that it's a mouse battery. (Or make it an option.)
Comment 1 David Korth 2008-01-18 07:37:53 UTC
Somehow the platform ID got changed while filing the bug report. This was on Gentoo Linux, not Debian.
Comment 2 Florian Sievert 2008-01-20 19:44:30 UTC
I can confirm this exactly on my system. First I didn't understood why my notebook seems to have two batteries, but then I saw that the second battery was from the mouse.

Mayebe the user should be able to define a UDI per battery applet? Or to list up all systems known batteries allowing the user which UDI(s) should be display within the applet? I would like to put the notebook battery on the panel, but I could imagine to put the mouse battery ex. on the desktop.
Comment 3 Luka Renko 2008-01-20 21:58:25 UTC
Can you provide output of the following command:

for udi in `solidshell hardware query "IS Battery" | awk -F "'" '{print $2}'`; do  solidshell hardware details $udi; done

Comment 4 Florian Sievert 2008-01-21 15:51:58 UTC
Here it is.

udi = '/org/freedesktop/Hal/devices/usb_device_46d_c50e_noserial'
  parent = '/org/freedesktop/Hal/devices/usb_device_0_0_0000_00_1d_0'  (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 = 4  (0x4)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'Charging'  (0x1)  (enum)
Comment 5 Henrik Segesten 2008-01-22 13:44:20 UTC
It would be nice if if was configurable which batteries show in this plasmoid. On my laptop there are two battery bays, one I use and one empty. Both show in the plasmoid even though I am only interrested in the one with the battery present.
Comment 6 Henrik Segesten 2008-01-22 13:47:51 UTC
Hmm just saw bug: 155239. Move along please :)
Comment 7 David Korth 2008-01-23 06:24:17 UTC
Here's the output from solidshell on my system.

udi = '/org/freedesktop/Hal/devices/usb_device_46d_c50e_noserial'
  parent = '/org/freedesktop/Hal/devices/usb_device_5e3_608_noserial'  (string)
  vendor = 'Logitech'  (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 = 86  (0x56)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'Charging'  (0x1)  (enum)
Comment 8 Sokraates 2008-03-06 10:40:19 UTC
This seems to be fixed on Kubuntu Hardy KDE 4.0.1 and 4.0.2, though I had the problem on Gutsy KDE 4.0.0 and 4.0.1.
Comment 9 David Korth 2008-04-07 17:46:03 UTC
I installed KDE 4.0.3 yesterday, and now it shows *three* batteries. One for the mouse, two for the system battery. I'll get an lshal listing later today.
Comment 10 David Korth 2008-04-08 08:23:16 UTC
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.
Comment 11 Sebastian Kügler 2008-06-27 02:19:57 UTC
Do you still have this problem with 4.1 beta2 or later?
Comment 12 Thomas Georgiou 2008-07-05 18:02:15 UTC
1 week passed and reporter has not added anything about a bug that was for 4.0.0
Please reopen if you still have this problem with 4.1 beta 2 or later
Comment 13 David Korth 2008-07-23 19:40:45 UTC
I just upgraded to KDE 4.1 rc1, and the battery widget is still showing two batteries, one for the laptop battery and one for the mouse battery.
Comment 14 Nicolas L. 2008-09-23 08:01:25 UTC
i can confirm that this bug is still valid on kde 4.1.1
Comment 15 Olivier RONCALI 2008-10-04 22:43:35 UTC
This is still valid with KDE 4.1.2.
Comment 16 JP Rosevear 2008-10-31 15:38:30 UTC
See also https://bugzilla.novell.com/show_bug.cgi?id=439000
Comment 17 Sebastian Kügler 2008-11-15 15:05:02 UTC
Can you please verify this is still the case in what's to become 4.2? It has tentatively been fixed, confirming it would be good.

I'm confident enough to close this bug for now, please reopen if you still encounter it with current trunk (4.1.73-ish).
Comment 18 David Korth 2008-11-28 03:47:49 UTC
I can confirm that the battery plasmoid no longer shows a battery icon for my Logitech MX1000 in KDE 4.1.80.
Comment 19 Aaron J. Seigo 2008-11-28 06:35:40 UTC
thanks for the confirmation.
Comment 20 Timo Breitner 2009-01-21 22:54:39 UTC
Unfortunately, it seems this bug was only partially fixed. When my MX100 mouse is plugged in before the plasmoid starts (KDE 4.1.96, Gentoo), it only shows my system battery. But when I plug my mouse in while the plasmoid is already running, an icon for the mouse battery appears. 
As far as I understand the code, the bug fix was to check for the battery to be of type "PrimaryBattery" when the plasmoid is initialized. But when a new device is added, this check is missing. 
Comment 21 Nicolas L. 2009-02-08 19:22:39 UTC
a mandriva user reported me that the bug is still valid for him with kde 4.2.0 
Comment 22 Sebastian Kügler 2009-02-08 21:14:04 UTC
Can I have lshal output for this case?
Comment 23 Olivier RONCALI 2009-02-10 20:07:44 UTC
Created attachment 31197 [details]
lshal without the mouse battery state
Comment 24 Olivier RONCALI 2009-02-10 20:11:46 UTC
Created attachment 31198 [details]
lshal with the mouse battery state

This is the lshal when the battery state is shown. When I create it, the system had not yet got the battery charge.
Comment 25 Olivier RONCALI 2009-02-10 20:15:21 UTC
When the system starts with the mouse plugged, the status of its battery is not shown. But if I plug my mouse after system startup, the status of the battery appears immediately.
Comment 26 Nicolas L. 2009-04-15 22:51:08 UTC
if this can help, there is   the diff between the two states

$ diff -Naur without_battery_state with_battery_state
--- without_battery_state       2009-04-15 22:49:11.000000000 +0200
+++ with_battery_state       2009-04-15 22:47:20.000000000 +0200                
@@ -178,28 +178,28 @@                                              
   processor.number = 1  (0x1)  (int)                              
                                                                   
 udi = '/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0'
-  battery.charge_level.current = 39560  (0x9a88)  (int)                
+  battery.charge_level.current = 39726  (0x9b2e)  (int)                
   battery.charge_level.design = 57720  (0xe178)  (int)                 
   battery.charge_level.last_full = 50849  (0xc6a1)  (int)              
-  battery.charge_level.percentage = 77  (0x4d)  (int)                  
-  battery.charge_level.rate = 5738  (0x166a)  (int)                    
+  battery.charge_level.percentage = 78  (0x4e)  (int)                  
+  battery.charge_level.rate = 5760  (0x1680)  (int)                    
   battery.is_rechargeable = true  (bool)                               
   battery.model = 'DELL FW3028'  (string)                              
   battery.present = true  (bool)                                       
   battery.rechargeable.is_charging = true  (bool)                      
   battery.rechargeable.is_discharging = false  (bool)                  
-  battery.remaining_time = 7082  (0x1baa)  (int)                       
-  battery.reporting.current = 3564  (0xdec)  (int)                     
+  battery.remaining_time = 6951  (0x1b27)  (int)                       
+  battery.reporting.current = 3579  (0xdfb)  (int)                     
   battery.reporting.design = 5200  (0x1450)  (int)                     
   battery.reporting.last_full = 4581  (0x11e5)  (int)                  
-  battery.reporting.rate = 517  (0x205)  (int)                         
+  battery.reporting.rate = 519  (0x207)  (int)                         
   battery.reporting.technology = 'Li-ion'  (string)                    
   battery.reporting.unit = 'mAh'  (string)                             
   battery.serial = '1123'  (string)                                    
   battery.technology = 'lithium-ion'  (string)                         
   battery.type = 'primary'  (string)                                   
   battery.vendor = 'Sanyo'  (string)                                   
-  battery.voltage.current = 11889  (0x2e71)  (int)                     
+  battery.voltage.current = 11912  (0x2e88)  (int)                     
   battery.voltage.design = 11100  (0x2b5c)  (int)                      
   battery.voltage.unit = 'mV'  (string)                                
   info.capabilities = {'battery'} (string list)                        
@@ -2232,24 +2232,9 @@                                                  
   usb_device.vendor_id = 7531  (0x1d6b)  (int)                         
   usb_device.version = 1.1 (1.1) (double)                              
                                                                        
-udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_usbraw'
-  info.capabilities = {'usbraw'} (string list)                            
-  info.category = 'usbraw'  (string)                                      
-  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0'  (string)
-  info.product = 'USB Raw Device Access'  (string)                                     
-  info.subsystem = 'usb_device'  (string)                                              
-  info.udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_usbraw'  (string)
-  linux.device_file = '/dev/usbdev5.1'  (string)                                           
-  linux.hotplug_type = 2  (0x2)  (int)                                                     
-  linux.subsystem = 'usb_device'  (string)                                                 
-  linux.sysfs_path = '/sys/class/usb_device/usbdev5.1'  (string)                           
-  usbraw.device = '/dev/usbdev5.1'  (string)                                               
-                                                                                           
 udi = '/org/freedesktop/Hal/devices/usb_device_46d_c501_noserial'                          
-  battery.charge_level.current = 7  (0x7)  (int)                                           
   battery.charge_level.design = 7  (0x7)  (int)                                            
   battery.charge_level.last_full = 7  (0x7)  (int)                                         
-  battery.charge_level.percentage = 100  (0x64)  (int)                                     
   battery.command_interface = 'csr'  (string)                                              
   battery.csr.has_res = false  (bool)                                                      
   battery.csr.has_sms = false  (bool)                                                      
@@ -2266,23 +2251,20 @@                                                                     
   info.subsystem = 'usb_device'  (string)                                                  
   info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c501_noserial'  (string)         
   info.vendor = 'Logitech, Inc.'  (string)                                                 
-  linux.device_file = '/dev/bus/usb/005/002'  (string)                                     
+  linux.device_file = '/dev/bus/usb/005/003'  (string)                                     
   linux.hotplug_type = 2  (0x2)  (int)                                                     
   linux.subsystem = 'usb'  (string)                                                        
   linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1'  (string)             
   usb_device.bus_number = 5  (0x5)  (int)                                                  
-  usb_device.can_wake_up = true  (bool)                                                    
-  usb_device.configuration_value = 1  (0x1)  (int)                                         
+  usb_device.can_wake_up = false  (bool)                                                   
   usb_device.device_class = 0  (0x0)  (int)                                                
   usb_device.device_protocol = 0  (0x0)  (int)                                             
   usb_device.device_revision_bcd = 2320  (0x910)  (int)                                    
   usb_device.device_subclass = 0  (0x0)  (int)                                             
   usb_device.is_self_powered = false  (bool)                                               
-  usb_device.linux.device_number = 2  (0x2)  (int)                                         
+  usb_device.linux.device_number = 3  (0x3)  (int)                                         
   usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1'  (string)  
-  usb_device.max_power = 50  (0x32)  (int)                                                 
   usb_device.num_configurations = 1  (0x1)  (int)                                          
-  usb_device.num_interfaces = 1  (0x1)  (int)                                              
   usb_device.num_ports = 0  (0x0)  (int)                                                   
   usb_device.product = 'Cordless Mouse Receiver'  (string)                                 
   usb_device.product_id = 50433  (0xc501)  (int)                                           
@@ -2298,11 +2280,11 @@                                                                     
   info.product = 'USB Raw Device Access'  (string)                                         
   info.subsystem = 'usb_device'  (string)                                                  
   info.udi = '/org/freedesktop/Hal/devices/usb_device_46d_c501_noserial_usbraw'  (string)  
-  linux.device_file = '/dev/usbdev5.2'  (string)                                           
+  linux.device_file = '/dev/usbdev5.3'  (string)                                           
   linux.hotplug_type = 2  (0x2)  (int)                                                     
   linux.subsystem = 'usb_device'  (string)                                                 
-  linux.sysfs_path = '/sys/class/usb_device/usbdev5.2'  (string)                           
-  usbraw.device = '/dev/usbdev5.2'  (string)                                               
+  linux.sysfs_path = '/sys/class/usb_device/usbdev5.3'  (string)                           
+  usbraw.device = '/dev/usbdev5.3'  (string)                                               
                                                                                            
 udi = '/org/freedesktop/Hal/devices/usb_device_46d_c501_noserial_if0'                      
   info.linux.driver = 'usbhid'  (string)                                                   
@@ -2314,8 +2296,7 @@                                                                       
   linux.subsystem = 'usb'  (string)
   linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0'  (string)
   usb.bus_number = 5  (0x5)  (int)
-  usb.can_wake_up = true  (bool)
-  usb.configuration_value = 1  (0x1)  (int)
+  usb.can_wake_up = false  (bool)
   usb.device_class = 0  (0x0)  (int)
   usb.device_protocol = 0  (0x0)  (int)
   usb.device_revision_bcd = 2320  (0x910)  (int)
@@ -2325,11 +2306,9 @@
   usb.interface.protocol = 2  (0x2)  (int)
   usb.interface.subclass = 1  (0x1)  (int)
   usb.is_self_powered = false  (bool)
-  usb.linux.device_number = 2  (0x2)  (int)
+  usb.linux.device_number = 3  (0x3)  (int)
   usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0'  (string)
-  usb.max_power = 50  (0x32)  (int)
   usb.num_configurations = 1  (0x1)  (int)
-  usb.num_interfaces = 1  (0x1)  (int)
   usb.num_ports = 0  (0x0)  (int)
   usb.product = 'USB HID Interface'  (string)
   usb.product_id = 50433  (0xc501)  (int)
@@ -2356,7 +2335,20 @@
   linux.device_file = '/dev/input/event8'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'input'  (string)
-  linux.sysfs_path = '/sys/class/input/input8/event8'  (string)
+  linux.sysfs_path = '/sys/class/input/input13/event8'  (string)
+
+udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_usbraw'
+  info.capabilities = {'usbraw'} (string list)
+  info.category = 'usbraw'  (string)
+  info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0'  (string)
+  info.product = 'USB Raw Device Access'  (string)
+  info.subsystem = 'usb_device'  (string)
+  info.udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_usbraw'  (string)
+  linux.device_file = '/dev/usbdev5.1'  (string)
+  linux.hotplug_type = 2  (0x2)  (int)
+  linux.subsystem = 'usb_device'  (string)
+  linux.sysfs_path = '/sys/class/usb_device/usbdev5.1'  (string)
+  usbraw.device = '/dev/usbdev5.1'  (string)

 udi = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_0_if0'
   info.linux.driver = 'hub'  (string)
Comment 27 lpoujoulat 2009-05-23 09:36:42 UTC
Same problem.
I use Kubuntu 9.04 64 bits with
KDE 4.2.3, QT  4.5.1, nvidia 180.51

On the last freeze, restarting plasma set the things right back, excepted Lancelot that keeps showing a grey area until I kill it explicitly
Comment 28 Aaron J. Seigo 2009-06-11 22:51:47 UTC
SVN commit 980485 by aseigo:

also check the kind of battery when it is plugged in
BUG:156078


 M  +15 -18    powermanagementengine.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=980485