fix annoying battery popups with 99% battery

SVN revision: 49011
This commit is contained in:
Mike Blumenkrantz 2010-05-19 17:51:31 +00:00
parent b83662e9ca
commit 1cfa2b2d8c
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ _battery_update(int full, int time_left, int time_full, Eina_Bool have_battery,
_battery_face_time_set(inst->popup_battery,
time_full);
}
if (have_battery && (!have_power) && (full != 100) &&
if (have_battery && (!have_power) && (full < 90) &&
(((time_left > 0) && battery_config->alert && ((time_left / 60) <= battery_config->alert)) ||
(battery_config->alert_p && (full <= battery_config->alert_p)))
)