From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ralf Jung 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 Message-ID: <201205012142.55664.post@ralfj.de> References: <201101062331.17079.rjw@sisk.pl> <4FA032EA.1090608@gmail.com> <20120501191408.GD19143@burratino> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: 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 In-Reply-To: <20120501191408.GD19143@burratino> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Jonathan Nieder Cc: Adrian Fita , "Rafael J. Wysocki" , Len Brown , LKML , Matthew Garrett , ACPI Devel Maling List , Linux-pm mailing list , Paolo Scarabelli , Andy Whitcroft 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