Bug 12349 - Battery indicator will randomly plunge to a single digit percentage throwing the system into hibernation.
Summary: Battery indicator will randomly plunge to a single digit percentage throwing ...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard: MGA3-64-OK MGA3-32-OK advisory
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-01-18 01:25 CET by steve daniewicz
Modified: 2014-02-05 16:46 CET (History)
5 users (show)

See Also:
Source RPM: upower-0.9.19-3.mga3.src.rpm
CVE:
Status comment:


Attachments

Description steve daniewicz 2014-01-18 01:25:04 CET
Description of problem:
Mageia 3 and KDE on a MacBook Pro (2009 model) fully updated. Battery is fine when using OSX. When using Mageia, battery indicator will randomly plunge to a single digit percentage throwing the system into hibernation. Current way of getting around this is closing the laptop lid (putting the OS to sleep) and then reopen the laptop. After this, the battery indicator shows the right value for the battery.This appears to be related to upower as discussed here: https://bugs.kde.org/show_bug.cgi?id=318868.

Version-Release number of selected component (if applicable):
upower 0.9.15-2.mga2

How reproducible:
problem occurs randomly

Steps to Reproduce:
1.
2.
3.


Reproducible: 

Steps to Reproduce:
Comment 1 Florian Hubold 2014-01-18 08:54:48 CET
This is the commit that fixed it in upower: http://cgit.freedesktop.org/upower/commit/?id=07b95b8e27e7c488828c46a28df96f1c83b185c8

URL: https://bugs.kde.org/show_bug.cgi?id=318868 => https://bugs.freedesktop.org/show_bug.cgi?id=60214
CC: (none) => doktor5000

Thierry Vignaud 2014-01-18 11:23:43 CET

CC: (none) => luigiwalser

Comment 2 Florian Hubold 2014-01-18 12:36:39 CET
(In reply to steve daniewicz from comment #0)
> Description of problem:
> Mageia 3 and KDE on a MacBook Pro (2009 model) fully updated.

[...]

> Version-Release number of selected component (if applicable):
> upower 0.9.15-2.mga2


Uhmm, something's wrong here. The package version is from Mageia 2, Mageia 3 has 0.9.19-3.mga3 but you mention Mageia 3 fully updated ... ?
Can you please clarify?

I'ved added a patch for Mageia 3 in svn, but this will not be fixed for Mageia 2 as it's already EOL.

Keywords: (none) => PATCH
Status: NEW => ASSIGNED
Assignee: bugsquad => doktor5000

Comment 3 Florian Hubold 2014-01-18 18:44:05 CET
Got confirmation from reporter via mail that it's about upower-0.9.19-3.mga3.src.rpm.

I've submitted upower-0.9.19-3.1.mga3 and sent this to updates_testing, it should appear on your mirror soon.



Suggested advisory:


I have uploaded a patched/updated package for Mageia 3.

You can test this by installing upower and checking that energy management still works as before, and the reported problems from https://bugs.kde.org/show_bug.cgi?id=318868 and https://bugs.freedesktop.org/show_bug.cgi?id=60214 do not occur anymore.

(This can probably only be tested by the reporter)


Suggested advisory:
========================

Updated upower package fixes battery state of batteries which report capacity, but not energy/charge information correctly.

========================

Updated packages in core/updates_testing:
========================
lib(64)upower-gir1.0-0.9.19-3.mga3.x86_64.rpm
lib(64)upower-glib-devel-0.9.19-3.mga3.x86_64.rpm
lib(64)upower-glib1-0.9.19-3.mga3.x86_64.rpm
upower-0.9.19-3.mga3.x86_64.rpm

Source RPMs: 
upower-0.9.19-3.1.mga3.src.rpm

Keywords: PATCH => (none)
Assignee: doktor5000 => qa-bugs
Source RPM: upower 0.9.15-2.mga2 => upower-0.9.19-3.mga3.src.rpm

Comment 4 steve daniewicz 2014-01-18 20:56:52 CET
I will looking for the update in the mirrors. Thanks.


(In reply to Florian Hubold from comment #3)
> Got confirmation from reporter via mail that it's about
> upower-0.9.19-3.mga3.src.rpm.
> 
> I've submitted upower-0.9.19-3.1.mga3 and sent this to updates_testing, it
> should appear on your mirror soon.
> 
> 
> 
> Suggested advisory:
> 
> 
> I have uploaded a patched/updated package for Mageia 3.
> 
> You can test this by installing upower and checking that energy management
> still works as before, and the reported problems from
> https://bugs.kde.org/show_bug.cgi?id=318868 and
> https://bugs.freedesktop.org/show_bug.cgi?id=60214 do not occur anymore.
> 
> (This can probably only be tested by the reporter)
> 
> 
> Suggested advisory:
> ========================
> 
> Updated upower package fixes battery state of batteries which report
> capacity, but not energy/charge information correctly.
> 
> ========================
> 
> Updated packages in core/updates_testing:
> ========================
> lib(64)upower-gir1.0-0.9.19-3.mga3.x86_64.rpm
> lib(64)upower-glib-devel-0.9.19-3.mga3.x86_64.rpm
> lib(64)upower-glib1-0.9.19-3.mga3.x86_64.rpm
> upower-0.9.19-3.mga3.x86_64.rpm
> 
> Source RPMs: 
> upower-0.9.19-3.1.mga3.src.rpm
Comment 5 Samuel Verschelde 2014-01-23 12:10:28 CET
Hi steve, any progress regarding your tests?

CC: (none) => stormi

Comment 6 steve daniewicz 2014-01-23 17:57:54 CET
(In reply to Samuel VERSCHELDE from comment #5)
> Hi steve, any progress regarding your tests?

I have not seen the update in the mirrors yet.
Comment 7 David Walser 2014-01-23 18:13:02 CET
(In reply to steve daniewicz from comment #6)
> (In reply to Samuel VERSCHELDE from comment #5)
> > Hi steve, any progress regarding your tests?
> 
> I have not seen the update in the mirrors yet.

Things propagate to the mirrors fairly quickly, but updates are not pushed to the updates media until they are tested, so this update candidate is currently in the updates_testing media, which is not enabled by default.  See the wiki about this:
https://wiki.mageia.org/en/Enabling_the_Testing_media
Comment 8 steve daniewicz 2014-01-23 21:23:05 CET
(In reply to David Walser from comment #7)
> (In reply to steve daniewicz from comment #6)
> > (In reply to Samuel VERSCHELDE from comment #5)
> > > Hi steve, any progress regarding your tests?
> > 
> > I have not seen the update in the mirrors yet.
> 
> Things propagate to the mirrors fairly quickly, but updates are not pushed
> to the updates media until they are tested, so this update candidate is
> currently in the updates_testing media, which is not enabled by default. 
> See the wiki about this:
> https://wiki.mageia.org/en/Enabling_the_Testing_media

I have the following mirrors enabled and have not yet seen a upower update:
core updates testing
core backports testing

Do I need to enable more?
Comment 9 David Walser 2014-01-23 21:28:23 CET
Core updates_testing should be sufficient.  The packages are there:
http://mageia.c3sl.ufpr.br/distrib/3/i586/media/core/updates_testing/
Comment 10 steve daniewicz 2014-01-24 01:56:22 CET
On my system the core updates_testing is set to:
http://mirrors.kernel.org/mageia/distrib/3/x86/media/core/updates_testing

still no upower updates yet
Comment 11 David Walser 2014-01-24 02:19:51 CET
The correct URLs are:
http://mirrors.kernel.org/mageia/distrib/3/x86_64/media/core/updates_testing/
http://mirrors.kernel.org/mageia/distrib/3/i586/media/core/updates_testing/

and the upower packages are indeed there.  mirrors.kernel.org is always one of the first to be up to date; it syncs every hour.
Comment 12 steve daniewicz 2014-01-24 03:04:30 CET
Since my link is slightly different than yours I deleted all of my media and reloaded. Each enabled URL is now listed as $MIRRORLIST. Hmmm...

Mirror list Core Updates Testing (distrib5) is enabled but still no new updates listed as available.
Comment 13 David Walser 2014-01-24 03:13:05 CET
Depending on the method you're using to install the packages, you may also need to mark the testing media as an "updates" source.
Comment 14 steve daniewicz 2014-01-24 03:39:20 CET
(In reply to David Walser from comment #13)
> Depending on the method you're using to install the packages, you may also
> need to mark the testing media as an "updates" source.

I have resolved my mirror issues.

I now have upower 0.9.19-3.1.mga3 and lib64upower-glib1 0.9.19-3.1.mga3 installed. I was unable to find a 3.1 version of lib64upower-gir1.0 and I am unable to install lib64upower-gir1.0 0.9.19-3.mga3.

I will run the laptop hard for a few days and report back.
Comment 15 David Walser 2014-01-24 04:06:18 CET
(In reply to steve daniewicz from comment #14)
> I now have upower 0.9.19-3.1.mga3 and lib64upower-glib1 0.9.19-3.1.mga3
> installed. I was unable to find a 3.1 version of lib64upower-gir1.0 and I am
> unable to install lib64upower-gir1.0 0.9.19-3.mga3.

http://mirrors.kernel.org/mageia/distrib/3/x86_64/media/core/updates_testing/lib64upower-gir1.0-0.9.19-3.1.mga3.x86_64.rpm

You might want to install it manually, just in case.
Comment 16 steve daniewicz 2014-01-24 15:56:58 CET
(In reply to David Walser from comment #15)
> (In reply to steve daniewicz from comment #14)
> > I now have upower 0.9.19-3.1.mga3 and lib64upower-glib1 0.9.19-3.1.mga3
> > installed. I was unable to find a 3.1 version of lib64upower-gir1.0 and I am
> > unable to install lib64upower-gir1.0 0.9.19-3.mga3.
> 
> http://mirrors.kernel.org/mageia/distrib/3/x86_64/media/core/updates_testing/
> lib64upower-gir1.0-0.9.19-3.1.mga3.x86_64.rpm
> 
> You might want to install it manually, just in case.

OK. Manual installation completed for lib64upower-gir1.0-0.9.19-3.1.mga3. Let the testing begin!
Comment 17 steve daniewicz 2014-01-28 03:32:53 CET
It has been several days and I am happy to report that I have had none of the power management issues originally reported. Before the upower update I could expect several (3-5) occurrences of the issue per day. The laptop has been working flawlessly. I want to thank all of you for the quick work on this bug report.
Comment 18 David Walser 2014-01-28 03:48:34 CET
Steve, thanks for the report, and for your testing and feedback.

Since the reporter has tested and reported the issue resolved, just basic testing on i586 should be enough to get this validated.

Whiteboard: (none) => MGA3-64-OK

Comment 19 Florian Hubold 2014-01-29 00:03:08 CET
Can this be pushed then as there seem to be no regressions for i586?
Comment 20 David Walser 2014-01-29 00:13:49 CET
(In reply to Florian Hubold from comment #19)
> Can this be pushed then as there seem to be no regressions for i586?

Sure, we just need someone to do a quick test on i586.  Unfortunately the QA policy is that the packager doesn't count as one of the testers, but hopefully someone else well get to this soon.
Comment 21 Samuel Verschelde 2014-02-04 12:49:29 CET
i586 ok.

Update validated. Advisory uploaded. 

Please push to 3/core/updates.

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: MGA3-64-OK => MGA3-64-OK MGA3-32-OK

Samuel Verschelde 2014-02-04 12:49:55 CET

Whiteboard: MGA3-64-OK MGA3-32-OK => MGA3-64-OK MGA3-32-OK advisory

Comment 22 Thomas Backlund 2014-02-05 16:46:38 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0015.html

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.