~ochosi/indicator-power/xfce4-powermanager-settings

Viewing all changes in revision 214.

  • Committer: Tarmac
  • Author(s): Charles Kerr
  • Date: 2013-11-04 15:01:58 UTC
  • mfrom: (202.3.4 lp-1221871)
  • Revision ID: tarmac-20131104150158-vovicgckua6o2643
We really only need to keep a handful of properties up-to-date for each upower device. Given that upower requires us to refetch all properties with GetAll whenever it signals that it's changed, we really don't need to keep bus proxies alive for each device.

Removing the autogenerated proxy code and just using a couple of the direct GDBusConnection API calls cuts out some unnecessary overhead according to health-check. See the before & after profile logs attached to the ticket. Fixes: https://bugs.launchpad.net/bugs/1221871.

Approved by Lars Uebernickel, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: