Comment 2 for bug 261953

Revision history for this message
Bill Filler (bfiller) wrote :

reproduced this finally on Sylvania unit. But it's very intermittent. The root problem is in gnome-power-manager gpm_cell_unit.c. When it is trying to figure out what icon to use, it doesn't take into account whether ac is plugged in or not. This is only a problem when the unit reports that is_discharging = TRUE and is_charging = FALSE even when AC is plugged in. This is what occurrs after some time on the Sylvania unit. I added a patch that takes into account whether ac is plugged in or not and tries to do the right thing by returning an icon name (either -charging or -charged) that will show the correct icon. Patch is attached.