Bug 1403422

Summary: Battery applet always reports 0%
Product: [Fedora] Fedora Reporter: Jay Fenlason <bugzilla>
Component: lxpanelAssignee: Christoph Wickert <christoph.wickert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: bugzilla, christoph.wickert, mtasaka, norbert.jurkeit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lxpanel-0.9.1-2.D20161125git138ff9b2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-27 02:45:45 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:

Description Jay Fenlason 2016-12-10 05:06:28 UTC
Description of problem:
With lxpanel-0.8.2-2.fc25.x86_64 the battery applet reports correct charge information.  With 

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Use a machine that has a battery (a laptop, for instance)
2.Install lxpanel 0.8.2-2.fc25
2.Enable the battery applet.
3.Confirm that the battery applet shows the state of the battery.
4.dnf update lxpanel
5.log out and back in to run the new lxpanel
6.notice that the battery applet now shows a completely dead battery, no matter what state the battery is actually in.

Actual results:
Battery shown as 0%

Expected results:
Battery state reflects actual charge of the battery.

Additional info:
This might only happen on specific laptops.  Mine is an Asus X551M

Comment 1 Mamoru TASAKA 2016-12-10 11:12:29 UTC
If you tried lxpanel-0.9.1-1.fc25, would you try lxpanel-0.9.1-2.D20161125git138ff9b2.fc25 currently in testing if it helps? Upstream says some battery related change is included in this git commit.

Comment 2 Jay Fenlason 2016-12-11 20:01:22 UTC
The battery applet in lxpanel-0.9.1-2.D20161125git138ff9b2.fc25 does work.

Comment 3 Norbert Jurkeit 2016-12-18 10:13:35 UTC
Same for me. The battery monitor works with lxpanel version 0.8.2-2 and 0.9.1-2.D20161125... from updates-testing, but is broken with version 0.9.1-1.

My laptop is a Lenovo X121e.

Comment 4 Mamoru TASAKA 2016-12-27 02:45:45 UTC
It seems this issue is fixed in now-stable 0.9.1-2.D20161125git138ff9b2.fc25.