From 318c783ce3f15f211b295045d1046d97ceab9a92 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 3 Dec 2008 20:57:46 +0200 Subject: Allow battchg to be 0 --- audio/telephony-maemo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/telephony-maemo.c') 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); } -- cgit