After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712266 - Power management with multiple batteries broken
Power management with multiple batteries broken
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: power
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-11-14 05:38 UTC by Amit Shah
Modified: 2013-11-18 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Amit Shah 2013-11-14 05:38:46 UTC
From downstream Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1029627

Image showing problem at https://bugzilla.redhat.com/attachment.cgi?id=823105

I have two batteries on my ThinkPad 420s.  One is a 6-cell and the other is a 3-cell.  The laptop firmware discharges the 3-cell one completely before switching to the 6-cell one.  When the 3-cell one nears full discharge, gnome thinks the laptop is going to run out of power.

As shown in the attachment, the % remaining calculation is correct, and takes both batteries into account.  But the time remaining estimate is incorrect, and only based on the currently-discharging battery.

So gnome keeps suspending my laptop till the firmware switches to the 6-cell battery.

Once that happens, the time remaining is updated to reflect the 6-cell battery's discharge rate.

This is a regression from F19.


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

$ rpm -q gnome-shell
gnome-shell-3.10.1-2.fc20.x86_64
Comment 1 Amit Shah 2013-11-14 05:39:33 UTC
Filed against gnome-shell since gnome-power-manager doesn't look like the right place: it's not even installed in the default F20 install.
Comment 2 Florian Müllner 2013-11-14 07:16:56 UTC
(In reply to comment #1)
> Filed against gnome-shell since gnome-power-manager doesn't look like the right
> place: it's not even installed in the default F20 install.

Right, its functionality has been moved to gnome-settings-daemon.
Comment 3 Bastien Nocera 2013-11-14 08:08:52 UTC
Please test with gnome-settings-daemon 3.10.2.
Comment 4 Amit Shah 2013-11-18 18:40:02 UTC
Yes, looks like things are fine in 3.10.2.  Thanks!