← Back to team overview

touch-packages team mailing list archive

[Bug 1420395] Re: upower consuming over 17% cpu

 

As an example, the amount of upower events when connecting/disconnecting the usb cable (charger) on mako:
root@ubuntu-phablet:/sys# upower -m
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[03:54:38.613]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.616]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.620]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.621]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.621]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.622]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.624]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.632]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.633]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.634]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.636]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:38.636]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.122]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.128]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.129]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.129]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.130]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.131]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.131]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.131]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.132]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.132]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.133]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.133]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.134]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.134]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.143]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.144]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.144]	daemon changed:
[03:54:39.427]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.427]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.428]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:39.430]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.431]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.432]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.432]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.433]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.433]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.434]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.434]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.436]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.436]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.437]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:39.437]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.357]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.358]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.358]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.358]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.359]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.359]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.359]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.360]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.360]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.360]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.361]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:40.361]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.140]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.141]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.142]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.142]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.143]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.144]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.145]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.145]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.146]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.146]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.147]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:41.148]	device changed:     /org/freedesktop/UPower/devices/battery_battery

-> Disconnect

[03:54:45.456]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:45.456]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:45.457]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:45.457]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.458]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.458]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.458]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.459]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.459]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.459]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.459]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.460]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.460]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.460]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.460]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.461]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:45.461]	daemon changed:
[03:54:46.154]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:46.155]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:46.155]	device changed:     /org/freedesktop/UPower/devices/line_power_pm8921_dc
[03:54:46.156]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.156]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.157]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.157]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.157]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.158]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.158]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.158]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.159]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.159]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.159]	device changed:     /org/freedesktop/UPower/devices/battery_battery
[03:54:46.159]	device changed:     /org/freedesktop/UPower/devices/battery_battery

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to upower in Ubuntu.
https://bugs.launchpad.net/bugs/1420395

Title:
  upower consuming over 17% cpu

Status in the base for Ubuntu mobile products:
  Confirmed
Status in upower package in Ubuntu:
  Confirmed

Bug description:
  From the meta battery bug # 1372413
  mako running 191

  As device was not suspending and battery level running down, upower is reported at 17%+ cpu by the cpustat tool
   mpdecision and systemd-udevd also change their behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1420395/+subscriptions


References