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 670747 - Pressing on Fn+F2 doesn't show remaining battery time in the OSD anymore
Pressing on Fn+F2 doesn't show remaining battery time in the OSD anymore
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
: 670056 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-24 15:30 UTC by papukaija
Modified: 2013-01-12 21:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description papukaija 2012-02-24 15:30:08 UTC
I'm not sure if this is a feature or not but pressing Fn+F2 on my Samsung NC10 doesn't show the remaining battery time in an OSD  notification as it did in Natty (GNOME 2.32.1) and earlier. Instead, that key combination opens gnome-power-statistics which isn't a very quick way to check battery status. I'm aware that the remaining battery time can be shown in the panel but I'm used to Fn+F2.

This bug has also been reported here:

https://bugs.launchpad.net/bugs/884038
Comment 1 Bastien Nocera 2012-02-24 15:42:48 UTC
That's what it used to do:
http://git.gnome.org/browse/gnome-power-manager/tree/src/gpm-manager.c?h=gnome-2-32#n940
Comment 2 Bastien Nocera 2012-02-24 16:17:18 UTC
We can easily add a popup with a bigger battery icon, and a gauge/fill level, but there wouldn't be room/design for any text being added.
Comment 3 Felipe Erias Morandeira 2012-03-01 11:13:41 UTC
The information in gnome-power-statistics really needs to be prioritized to be useful. At least in my system (3.2, Debian), "Time to empty" is the 18th item in the table at the second tab.

The 2nd item is "Type", informing me that my laptop's battery is indeed of type "Laptop battery".

Besides reorganizing this information, maybe we could add a first tab ("Overview") to display the system status in one quick look. This would fit the reported use case better, while allowing the user to investigate further if they so need.
Comment 4 Bastien Nocera 2012-03-01 11:28:16 UTC
Felipe, cleaning up gnome-power-statistics is a good idea, but we already know it's the wrong tool for the particular job at hand.

We want/need to show an overview of the current battery status, so it could either be a popup akin to the volume one, or we could pop out the power menu in gnome-shell through D-Bus (and a popup with a slashed battery if there's no batteries to report about).
Comment 5 Felipe Erias Morandeira 2012-03-01 12:22:55 UTC
(In reply to comment #4)

Agreed, showing gnome-power-statistics is probably too much for this particular scenario in any case. Cleaning it up should be a different issue than the one reported by this bug.
Comment 6 Bastien Nocera 2012-03-09 17:23:55 UTC
*** Bug 670056 has been marked as a duplicate of this bug. ***
Comment 7 William Jon McCann 2012-05-04 17:45:30 UTC
I think having a simple OSD with the battery level indicated in an icon and the percentage indicated as text would be sufficient.
Comment 8 Matthias Clasen 2012-05-04 17:52:51 UTC
I think a osd would be fine if we have to show something.
We don't show osds for a number of other fn-xyz special keys though, like fn-f7
(display config) or fn-f5 (wifi)
Comment 9 William Jon McCann 2012-05-04 17:54:00 UTC
We've been meaning to for display config no?
Comment 10 Tomáš Hnyk 2012-05-04 17:58:14 UTC
What about opening up gnome-control-center power? At least on Thinkpads (which I am on right now), it would be consistent with the laptop manual and the behaviour on windows (if I am to believe the manual, I have never run windows on this thing even once).
Comment 11 Matthias Clasen 2012-05-04 18:01:46 UTC
(In reply to comment #9)
> We've been meaning to for display config no?

I even wrote a complete implementation of it.
Then federico took it over, and wrote another complete implementation of it.
But it never landed :-(
Comment 12 Bastien Nocera 2013-01-12 21:14:30 UTC
Implemented in master, thanks to Cosimo's work on the OSD itself.