Bug 231195 - Battery monitor can't see UPS's battery
Summary: Battery monitor can't see UPS's battery
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-battery (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist with 20 votes (vote)
Target Milestone: ---
Assignee: Plasma Bugs List
Depends on:
Reported: 2010-03-18 08:51 UTC by Žarko
Modified: 2011-02-06 00:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
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.