diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-03 20:57:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2008-12-08 16:10:58 +0200 |
commit | 318c783ce3f15f211b295045d1046d97ceab9a92 (patch) | |
tree | a3a2d60415d906878c73d4ed1b656e2ac4505172 | |
parent | 0d21737bb959c0374c113254297d0207519fa816 (diff) |
Allow battchg to be 0
-rw-r--r-- | audio/telephony-maemo.c | 2 |
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); } |