Re: [bug?] Battery notifications produce flashing battery icon, syslogspam (Re: [PATCH 11/11] ACPI / Battery: Update information on info notificationand resume)

From: Paolo Scarabelli
Date: Wed May 02 2012 - 07:49:15 EST


Hi,

I have the same problem on kernel 3.2.0 (actually I have the same
problem with all kernels I tried since reporting the issue the first time).

I'm almost sure this is related to several Debian bugs open for upower:
#606414, #596721 and #619343.

Is it possible that the high cpu problem with upowerd is caused just to
the log size increasing too much when the laptop is left on for a long time?

In my laptop upowerd starts using a lot of cpu only when I leave it on
overnight.


Regards,


Paolo


On 05/02/2012 03:42 AM, Ralf Jung wrote:
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/