--- panel-plugin/battmon.c.old 2005-09-18 23:55:24.572606720 +0200 +++ panel-plugin/battmon.c 2005-09-18 23:55:41.456040048 +0200 @@ -362,6 +362,10 @@ if(charge < 0) charge = 0; + /* Some laptops report percentages higher as 100 when on AC + (ie 110% on a Dell Latitude D600 + */ + if(charge > 100) charge = 100; gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(battmon->battstatus), charge / 100.0); if(battmon->options.display_label){