device_changed callback does unnecessary work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powerd (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
powerd (Ubuntu RTM) |
Confirmed
|
High
|
Unassigned |
Bug Description
up_device_
With https:/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: powerd (not installed)
ProcVersionSign
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 30 17:05:13 2014
InstallationDate: Installed on 2012-10-07 (752 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121007)
SourcePackage: powerd
UpgradeStatus: Upgraded to utopic on 2013-05-07 (541 days ago)
in image smoke testing for touch we have a test called "systemsettle" it checks the idle state of the system before and after a test run by iterating over the "top" values (it doesnt actually use top but reads directly from /proc) ten times ... if the average idle value for these ten runs is not above 97.5% the test is considered a failure.
on the krillin device the systemsettle test constantly fails (while it passes on mako). looking through the logs we found that upowerd, indicator-power, powerd and specifically dbus-daemon seem to always be the top consumers causing the failure of the test. for now we decided to give the test a little more wiggle room by lowering the threshold by 1% but i think it is very valuable to get the described behavior of this bug fixed in the RTM touch image which IMHO will likely make the dbus noise be lower overall.
Thus this bug should be on the critical fixes list (the so called "olli's list") for RTM.