accounts-daemon is polling frequenly on phablet images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
accountsservice (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running today's image on a Samsung Galaxy Nexus I am observing frequent regular periodic polling by accounts-daemon on an idle system. Running strace on it I see:
poll([{fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 2, 537) = 0 (Timeout)
clock_gettime(
inotify_
clock_gettime(
poll([{fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 2, 3993) = 0 (Timeout)
clock_gettime(
inotify_
clock_gettime(
poll([{fd=4, events=POLLIN}, {fd=7, events=POLLIN}], 2, 3991) = 0 (Timeout)
clock_gettime(
inotify_
clock_gettime(
So it is polling every 4 seconds and timing out. Is this polling absolutely necessary since it is essentially blocking on fd 4 and 7?
Also, it is interesting that every poll loop it adds an inotify_add_watch on /etc/gdm which does not exist on the phone images. It seems a little bit wasteful to keep on doing this every 4 seconds.
tags: | added: mobile-power-consumption |