diff options
Diffstat (limited to 'sysutils/gnome-power-manager/files/patch-src_gpm-cell-array.c')
-rw-r--r-- | sysutils/gnome-power-manager/files/patch-src_gpm-cell-array.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sysutils/gnome-power-manager/files/patch-src_gpm-cell-array.c b/sysutils/gnome-power-manager/files/patch-src_gpm-cell-array.c deleted file mode 100644 index ea8e92f03661..000000000000 --- a/sysutils/gnome-power-manager/files/patch-src_gpm-cell-array.c +++ /dev/null @@ -1,12 +0,0 @@ ---- src/gpm-cell-aray.c.orig 2009-10-24 19:59:07.000000000 -0400 -+++ src/gpm-cell-array.c 2009-10-24 19:59:50.000000000 -0400 -@@ -355,7 +355,8 @@ gpm_cell_array_update (GpmCellArray *cel - * get an with batteries which have a very small charge unit and consequently - * a very high charge. Fixes bug #327471 */ - if (unit->kind == GPM_CELL_UNIT_KIND_PRIMARY && -- unit->charge_current > 0 && unit->charge_last_full > 0) { -+ unit->charge_current > 0 && unit->charge_last_full > 0 && -+ unit->percentage > 1) { - gfloat pc = 100.0f * ((gfloat)unit->charge_current / - (gfloat)unit->charge_last_full); - if (pc < 0.0f) { |