Bug 1174819

Summary: missing battery gadget
Product: [Fedora] Fedora Reporter: Jeremy Harris <jeharris>
Component: xfce4-power-managerAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 21CC: christoph.wickert, nonamedotc, phatina
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-22 16:49:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
power manager plugin highlighted
none
panel items selector window
none
rpm -ql xfce4-power-manager >rpm_ql.txt none

Description Jeremy Harris 2014-12-16 14:32:00 UTC
Description of problem:
  No battery information on panel


Version-Release number of selected component (if applicable):
  xfce4-power-manager-1.4.1-3.fc21.x86_64

How reproducible:
  100%

Steps to Reproduce:
1. Login
2. See no battery info
3.

Actual results:


Expected results:
  Indication of battery charge status

Additional info:
  Lenovo Thinkpad T530.  Fedup'd from f20 to f21, plus a couple of "yum update"
  runs.
  Running "xfce4-power-manager --no-daemon" tells me a power-manager is already running.

Comment 1 Mukundan Ragavan 2014-12-17 01:18:29 UTC
Just making sure - 

Do you have the power-manager plugin added the panel?

Comment 2 Jeremy Harris 2014-12-17 09:22:59 UTC
There is no icon on the panel that seems power-related.  There used to be
(probably back on f20).  And I can find no way to add it back.

Comment 3 Jeremy Harris 2014-12-17 10:34:41 UTC
I do get a popup notification for "battery fully charged".

Comment 4 Mukundan Ragavan 2014-12-18 00:55:38 UTC
Hi Jeremy, the xfce4-power-manager 1.3.x+ versions have replaced the older battery icon with power-manager plugin

(attached screenshot) - that's what I am checking if you added to the panel.

Comment 5 Mukundan Ragavan 2014-12-18 00:56:06 UTC
Created attachment 970353 [details]
power manager plugin highlighted

Comment 6 Jeremy Harris 2014-12-18 10:35:32 UTC
Created attachment 970477 [details]
panel items selector window

There is no power-manager item visible in the panel settings manager

Comment 7 Mukundan Ragavan 2014-12-19 00:12:59 UTC
Thank you. Do you see it in the list when you try to add the power manager plugin? (+ symbol onwards ...)



Can you please post the output of

rpm -ql xfce4-power-manager

I am looking to see if this file is installed - 

/usr/share/xfce4/panel/plugins/power-manager-plugin.desktop

Comment 8 Jeremy Harris 2014-12-22 09:37:49 UTC
Created attachment 971923 [details]
rpm -ql xfce4-power-manager >rpm_ql.txt

Yes, it was addable that way.  Thanks.  The bug reduces to "why did it
(allegedly) disappear, and was it due to the fedup operation?" - and backtracking
to work out how it happened might be too much effort unless someone else
reports the same.

The plugin does seem to be installed, according to rpm.

Comment 9 Mukundan Ragavan 2014-12-23 01:14:33 UTC
(In reply to Jeremy Harris from comment #8)
> Created attachment 971923 [details]
> rpm -ql xfce4-power-manager >rpm_ql.txt
> 
> Yes, it was addable that way.  Thanks.  The bug reduces to "why did it
> (allegedly) disappear, and was it due to the fedup operation?" - and
> backtracking
> to work out how it happened might be too much effort unless someone else
> reports the same.
> 
> The plugin does seem to be installed, according to rpm.

Yeahhh .... I think I know why.

The battery icon disappeared because of a change in xfce4-power-manager. The older panel plugin has now been changed to be called "power manager plugin". You should be able to add the plugin to the panel like any other plugin.

But, what you bring up is a very valid point. We should have it "enabled" on the panel by default like before. I will look into that.

Just to be sure - are you able to add the plugin back to the panel and is it functional as you would expect it to be?

Comment 10 Jeremy Harris 2014-12-23 09:08:28 UTC
Yes, and at least while plugged-in to the mains it's as expected.  I've not
explored the battery-powered behaviour yet but have no reason to expected it
to be broken.

Comment 11 Mukundan Ragavan 2015-03-22 16:49:50 UTC
I am closing this bug since battery gadget missing issue is resolved.