[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-xfce-devel] Bug#876285: Bug#876285: xfce4-battery-plugin: stable 10% CPU usage after switching from AC to battery power on X220



I've been running xfce4-battery-plugin with this patch for a week and
noticed no increase in resource usage.

As far as I understand it, creating a new GtkCssProvider every second
made it hard for libgtk to process new requests to change the
progressbar style.

Please let me know if this patch needs to be improved.

-- 
Best regards,
Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dont_leak_css_providers.patch
Type: text/x-patch
Size: 1380 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20171204/7601c8b5/attachment.bin>



Reply to: