Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758544Ab2EATtF (ORCPT ); Tue, 1 May 2012 15:49:05 -0400 Received: from ralfj.de ([85.214.220.216]:41335 "EHLO ralfj.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757261Ab2EATtD (ORCPT ); Tue, 1 May 2012 15:49:03 -0400 X-Greylist: delayed 359 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 May 2012 15:49:03 EDT From: Ralf Jung To: Jonathan Nieder Subject: Re: [bug?] Battery notifications produce flashing battery icon, syslog spam (Re: [PATCH 11/11] ACPI / Battery: Update information on info notification and resume) Date: Tue, 1 May 2012 21:42:55 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.7.4; x86_64; ; ) Cc: Adrian Fita , "Rafael J. Wysocki" , Len Brown , LKML , Matthew Garrett , ACPI Devel Maling List , "Linux-pm mailing list" , Paolo Scarabelli , Andy Whitcroft References: <201101062331.17079.rjw@sisk.pl> <4FA032EA.1090608@gmail.com> <20120501191408.GD19143@burratino> In-Reply-To: <20120501191408.GD19143@burratino> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205012142.55664.post@ralfj.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 35 Hi, in addition to the constant flickering when running on AC, there is a more "high frequency" flickering immediately after plugging in the AC: For some 5 to 10 seconds, the battery appears and disappears (according to upower) around once per second. There's also a short moment without battery after plugging out the AC. All this is gone after going to a kernel version without this patch applied. I did not notice unusual high CPU usage of upower on my system, however I noticed disc activity - according to iotop, upower is writing several MiB of data per minute to /var/lib/upower/ where it keeps some battery statistics. I do not know whether this is out of the ordinary. Kind regards, Ralf On Tuesday 01 May 2012 21:14:08 Jonathan Nieder wrote: > (cc-ing Andy) > > Adrian Fita wrote: > > Also, searching on Google after "upowerd device > > removed:/org/freedesktop/UPower/devices/battery_BAT0", reveals much > > more bug reports with the exact issue. > > Thanks. That confirms the high CPU consumption in upowerd --- > see [1], for example. > > [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/987807 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/