Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > f745d66c36ce3eac20891caf781cfa0b > files > 7

gnome-power-manager-2.16.0-8.el5.src.rpm

diff -urNp origin-rh/src/gpm-manager.c new/src/gpm-manager.c
--- origin-rh/src/gpm-manager.c	2007-06-01 11:33:47.000000000 +0100
+++ new/src/gpm-manager.c	2007-06-01 11:39:23.000000000 +0100
@@ -1997,6 +1997,7 @@ battery_status_changed_primary (GpmManag
 	   drops down to 95% as some batteries charge to 100% and then fluctuate
 	   from ~98% to 100%. See #338281 for details */
 	if (battery_status->percentage_charge < 95 &&
+	    battery_status->percentage_charge > 0 &&
 	    gpm_power_battery_is_charged (battery_status) == FALSE) {
 		manager->priv->done_notify_fully_charged = FALSE;
 	}