Bug 231195

Summary: Battery monitor can't see UPS's battery
Product: [Plasma] plasma4 Reporter: Žarko <zarko.pintar>
Component: widget-batteryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: lamarque, sebas
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Žarko 2010-03-18 08:51:42 UTC
Version:           1.0 (using KDE 4.4.1)
OS:                Linux
Installed from:    openSUSE RPMs

I have APC's UPS connected to my PC via USB cable. PowerDevil see battery and report them as Number of Batteries 1 (with or without apcupsd daemon).
But, Battery Monitor plasmoid do not see that battery and do not react on changing cord/battery state from UPS and not showing battery state.

Here is the answer from solid-hardware:
Code: Select all
solid-hardware query 'IS Battery'
udi = '/org/freedesktop/Hal/devices/usb_device_51d_2_QB0429138064_if0_hiddev'


And there are details for this item:
Code: Select all
udi = '/org/freedesktop/Hal/devices/usb_device_51d_2_QB0429138064_if0_hiddev'
  parent = '/org/freedesktop/Hal/devices/usb_device_51d_2_QB0429138064_if0'  (string)
  vendor = ''  (string)
  product = 'American Power Conversion Back-UPS CS 650 FW:817.v2.I USB FW:v2'  (string)
  Battery.plugged = true  (bool)
  Battery.type = 'UpsBattery'  (0x2)  (enum)
  Battery.chargePercent = 100  (0x64)  (int)
  Battery.rechargeable = true  (bool)
  Battery.chargeState = 'NoCharge'  (0x0)  (enum)
Comment 1 Sebastian Kügler 2010-12-23 14:58:05 UTC
UPS batteries are out of scope for the battery applet, we're only dealing with so-called "primary batteries".

This is a whishlist item / feature request.