summaryrefslogtreecommitdiffstats
path: root/audio/telephony-maemo.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-12-03 20:57:46 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:58 +0200
commit318c783ce3f15f211b295045d1046d97ceab9a92 (patch)
treea3a2d60415d906878c73d4ed1b656e2ac4505172 /audio/telephony-maemo.c
parent0d21737bb959c0374c113254297d0207519fa816 (diff)
Allow battchg to be 0
Diffstat (limited to 'audio/telephony-maemo.c')
-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);
}