aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-11-04 15:01:58 +0000
committerTarmac <Unknown>2013-11-04 15:01:58 +0000
commitbde1f5daec555e59080ef2c3aeeb84f2fe3cd6b5 (patch)
tree66b4fd47ea9a14449a282cfb019eac86dccf1dd9 /src/service.c
parent7066fed66d02995377edd7fa407f1742c07d9339 (diff)
parent7dd7640162800c43f7e826d9e1dbefe4e0f9a734 (diff)
downloadayatana-indicator-power-bde1f5daec555e59080ef2c3aeeb84f2fe3cd6b5.tar.gz
ayatana-indicator-power-bde1f5daec555e59080ef2c3aeeb84f2fe3cd6b5.tar.bz2
ayatana-indicator-power-bde1f5daec555e59080ef2c3aeeb84f2fe3cd6b5.zip
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.
Diffstat (limited to 'src/service.c')
0 files changed, 0 insertions, 0 deletions