Annoying "tooltips" from gnome-power-manager, Fedora Core 5
I've been pretty happy with Fedora Core 5. I'm a guy who will use Linux pretty frequently on his laptop, so I was quick to install the new flavor of Linux at my earliest opportunity. However, Gnome now includes the gnome-power-manager, which seems to want to inform you of your battery's charge status a little too frequently.
The problem seems to lie in this block of code (from the source gpm-manager.c, line 1325):
if (manager->priv->last_primary_percentage_change == 99 &&
battery_status->percentage_charge == 100) {
show_notify = gconf_client_get_bool (manager->priv->gconf_client,
GPM_PREF_NOTIFY_BATTCHARGED, NULL);
if (show_notify) {
gpm_tray_icon_notify (GPM_TRAY_ICON (manager->priv->tray_icon),
GPM_NOTIFY_TIMEOUT_SHORT,
_("Battery Charged"),
NULL,
_("Your battery is now fully charged"));
}
}
This block monitors for battery percentage charges between 99% and 100%, and pops-up a tooltip that the battery is fully charged. The problem is that my notebook battery, seems to toggle between 99% and 100% quite frequently while on AC.
It looks like the development of Gnome's Power Manager is moving quite fast. I'm planning on researching the bug reports, to make sure I'm not duplicating someone else's entry. I will say, it looks like this code looks for a "show_notify" boolean value... perhaps this is a configuration setting? I haven't reviewed the code in detail, and the documentation is still a little light as development is rapid. I even tried this as a possible configuration setting with no luck.
If you're having this same issue on Fedora Core 5 on x86, you may wish to download my compiled version gnome-power-manager and install it into your /usr/bin directory. I've altered this block of code to never display a tooltip.