indicator-power-service is a lightly busy all the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-power |
Fix Released
|
High
|
Charles Kerr | ||
indicator-power (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
In a vain attempt to reduce power on these phone devices I noticed that indicator-
CPU usage:
PID Process USR% SYS% TOTAL%
1358 indicator-
It seems to be waiting on poll() on a couple of threads which cumulatively add up to about 1.68 wakeups a second over a 1 hour analysis:
Top polling system calls:
PID
1369 indicator-
1358 indicator-
Total 1.6838 polls/sec
This contributes to a bunch of context switching by these threads:
Context Switches:
PID Process Voluntary Involuntary Total
1369 indicator-
1358 indicator-
1372 indicator-
Total 14.29 0.22 14.50
[ See the attached log, launchpad formatting sucks ]
I also observed a couple of brk() calls, and a small amount of heap growth which may indicate it has a small memory leak, but I am speculating on this.
Attached is a full report from a 1 hour of monitoring indicator-
Related branches
- Lars Karlitski (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 1001 lines (+128/-778)3 files modifiedsrc/Makefile.am (+0/-19)
src/device-provider-upower.c (+128/-54)
src/org.freedesktop.UPower.Device.xml (+0/-705)
tags: | added: mobile-power-consumption |
no longer affects: | touch-preview-images |
Changed in indicator-power: | |
assignee: | nobody → Charles Kerr (charlesk) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in indicator-power (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in indicator-power: | |
status: | Fix Committed → Fix Released |
Fix committed into lp:indicator-power at revision 214, scheduled for release in indicator-power, milestone Unknown