It looks like upstream has reworked the code a bit and made fixing this
much easier.  Now all that is required is this:

--- src/indicator-power.c       2012-11-14 11:09:59 +0000
+++ src/indicator-power.c       2013-01-11 19:01:41 +0000
@@ -615,7 +615,8 @@
     {
       const IndicatorPowerDevice * device = INDICATOR_POWER_DEVICE(l->data);
 
-      if (indicator_power_device_get_kind(device) == UP_DEVICE_KIND_BATTERY)
+      if (indicator_power_device_get_kind(device) == UP_DEVICE_KIND_BATTERY ||
+         indicator_power_device_get_kind(device) == UP_DEVICE_KIND_UPS)
         {
           ++*total;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1007095

Title:
  g-p-m UPS power status does not show up in Unity

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-power/+bug/1007095/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to