The battery widget repaints itself regularly, even though the icon itself doesn't change. This is probably caused by changes in the remaining capacity of the battery. Unnecessary repaints reduce battery life on mobile and laptop devices, as they wake up the gpu. Reproducible: Always Steps to Reproduce: 1. Enable the "show paint area" effect of kwin 2. Wait some time (depends on battery capacity and power consumption of the particular device)
*** Bug 302034 has been marked as a duplicate of this bug. ***
It is likely a regression since the applet is completely rewritten in QML.
I just checked, the unnecessary repaints predate the rewrite.
(In reply to comment #3) > I just checked, the unnecessary repaints predate the rewrite. Then it's a good point for improvement :)
Git commit 81cf79994a067f7c9d7952240105d9acf92a2fc2 by Marco Martin. Committed on 20/06/2012 at 14:06. Pushed by mart into branch 'master'. avoid repaints when the same id is set again M +4 -0 plasma/declarativeimports/core/svgitem.cpp http://commits.kde.org/kde-runtime/81cf79994a067f7c9d7952240105d9acf92a2fc2
probably the repaint problem before is unrelated to the repaint problem now, because is a completely different implementation the above commit should at least partly solve it, not sure if completely tough
Just ran for > 4 minutes with the kwin effect on not touching anything. The battery applet did not repaint. Closing as fixed. Please reopen if you still encounter an issue.