summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/telephony-maemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 72b7fcd4..0882bee9 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -273,7 +273,7 @@ static gboolean update_indicators(gpointer user_data)
break;
}
- if (battchg_max > 0 && battchg > 0) {
+ if (battchg_max > 0 && battchg >= 0) {
int bat = telephony_get_indicator(maemo_indicators, "battchg");
telephony_update_indicator(maemo_indicators, "battchg", bat);
}