Possible kernel or udev sending too many events with upowerd, and this is resulting cpu usage increasing

Bug #987807 reported by Attila Hammer
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Dear Developers,

Prewious time users reported following issue under Launchpad.net:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/876279
I have got a J&W Minix M1200 netbook with have an Intel Atom N455 Cpu.
Actually when the battery is in the netbook, the monitors of upower and udev report a tons of events.
Here’s the battery info of my netbook
alarm: unsupported
present: yes
design capacity: 2200 mAh
last full capacity: 2192 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 220 mAh
design capacity low: 0 mAh
cycle count: 0
capacity granularity 1: 0 mAh
capacity granularity 2: -1 mAh
model number: Battery
serial number: 200000
battery type: LION
OEM info: Manufacture
present: yes
capacity state: ok
charging state: discharging
present rate: 1053 mA
remaining capacity: 1815 mAh
present voltage: 11482 mV
Here's the output of the upower monitor command:
hammera@hammera-M1200-Series:~$ upower --monitor
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[14:29:39.143] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.143] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.143] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.143] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.144] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.144] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:29:39.144] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:39.144] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:42.459] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:42.459] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:42.459] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:48.919] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:48.919] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:29:52.449] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:52.449] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:52.488] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:55.657] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:29:57.295] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:03.281] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:03.281] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:30:06.369] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:06.370] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:06.439] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:09.467] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:12.548] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:12.614] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:16.198] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:16.199] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:30:19.524] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:19.524] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:22.571] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:25.666] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:28.699] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:31.757] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:31.758] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:30:34.725] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:34.726] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:34.791] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:38.033] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:42.095] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:45.521] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:45.521] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:30:48.597] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:48.598] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:51.570] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:51.633] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:54.708] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:30:57.713] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.347] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.348] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:01.354] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.354] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.362] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.371] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.388] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.412] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.412] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:01.424] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.425] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.439] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.455] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.468] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.482] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.512] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.513] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:01.526] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.526] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.539] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.551] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.561] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.577] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.599] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.599] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:01.619] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.619] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.631] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.641] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.658] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.691] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.691] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:01.716] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.716] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.735] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:01.755] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:05.020] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:08.512] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:08.512] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:11.540] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:11.540] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:11.597] device added: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:14.768] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:17.713] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:22.175] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:22.175] device changed: /org/freedesktop/UPower/devices/line_power_AC0
[14:31:23.492] device changed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:23.492] device removed: /org/freedesktop/UPower/devices/battery_BAT0
[14:31:25.721] device added: /org/freedesktop/UPower/devices/battery_BAT0
^C
hammera@hammera-M1200-Series:~$

Heres top result:
hammera@hammera-M1200-Series:~$ top
top - 14:29:16 up 3 min, 1 user, load average: 2.75, 1.79, 0.74
Tasks: 161 total, 2 running, 159 sleeping, 0 stopped, 0 zombie
Cpu(s): 59.5%us, 17.1%sy, 0.0%ni, 19.8%id, 3.7%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1014328k total, 692444k used, 321884k free, 53684k buffers
Swap: 2237436k total, 0k used, 2237436k free, 429792k cached

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2261 root 20 0 32468 7792 3184 R 81 0.8 2:10.73 upowerd
 4648 hammera 20 0 112m 4916 3228 S 14 0.5 0:05.68 sd_espeak
 4373 hammera 9 -11 162m 7628 6140 S 11 0.8 0:15.77 pulseaudio
 4326 hammera 20 0 70416 24m 11m S 6 2.5 0:11.54 orca
 4402 hammera 20 0 89420 14m 10m S 3 1.4 0:02.83 indicator-apple
 5085 hammera 20 0 83152 15m 11m S 1 1.6 0:02.87 gnome-terminal
 1029 root 20 0 28856 8696 4792 S 1 0.9 0:03.21 Xorg
 4193 hammera 20 0 3560 1836 1228 S 1 0.2 0:01.53 dbus-daemon
 5572 hammera 20 0 2836 1164 884 R 1 0.1 0:00.62 top
  458 messageb 20 0 4068 1900 848 S 1 0.2 0:02.04 dbus-daemon
 2950 hammera 20 0 170m 17m 11m S 1 1.8 0:01.75 gnome-settings-
    4 root 20 0 0 0 0 S 0 0.0 0:00.54 kworker/0:0
   11 root 20 0 0 0 0 S 0 0.0 0:00.52 kworker/0:1
  211 root 20 0 0 0 0 S 0 0.0 0:00.36 kworker/1:2
  484 root 20 0 3228 1088 368 S 0 0.1 0:00.38 udevd

The output of the udev monitor:
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[2286.322211] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2286.325163] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2286.415250] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2286.415359] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2286.415455] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2286.419151] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2286.419271] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2286.421602] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2286.442621] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2286.448386] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2288.477104] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2288.479525] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2288.542048] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2288.542153] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2288.542255] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2288.546137] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2288.546530] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2288.551533] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2288.582759] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2288.589329] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2290.601297] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2290.605361] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2290.694739] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2290.694855] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2290.694962] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2290.698752] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2290.701606] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2290.705710] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2290.722507] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2290.728126] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2292.754956] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2292.757704] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2292.820832] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2292.820944] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2292.821051] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2292.824614] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2292.825242] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2292.827430] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2292.863150] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2292.870368] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2294.877535] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2294.882585] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2294.956864] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2294.956968] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2294.957062] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2294.957899] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2294.960138] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2294.964828] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2294.999190] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2295.004287] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2298.085507] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2298.089176] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2298.164795] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2298.164898] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2298.164998] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2298.168974] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2298.169083] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2298.171206] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2298.207627] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2298.212415] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2300.235141] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2300.238001] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2300.300778] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2300.300989] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2300.301091] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2300.303645] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2300.305151] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2300.307346] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2300.342922] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2300.348475] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2302.363060] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2302.365922] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2302.440559] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2302.440666] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2302.444160] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2302.444273] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2302.444615] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2302.446905] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2302.482508] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2302.488996] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2304.501477] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2304.504206] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2304.580912] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2304.581015] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2304.581117] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2304.584922] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2304.585029] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2304.587126] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2304.623584] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2304.628733] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2306.651261] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2306.653924] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2306.716891] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2306.716998] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2306.717201] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2306.720906] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2306.721015] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2306.723101] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2306.758291] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2306.764579] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2309.864747] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2309.867434] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2309.924477] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2309.924593] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2309.924699] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2309.928278] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2309.929407] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2309.932041] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2309.966815] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2309.972451] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2311.983479] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2311.986240] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2312.563642] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2312.563758] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2312.563886] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2312.567828] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2312.567938] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2312.571769] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2312.581584] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2312.594124] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2313.696853] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
UDEV [2313.698288] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
KERNEL[2313.708702] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
UDEV [2313.711239] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
KERNEL[2314.123024] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2314.125509] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2314.200995] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2314.201213] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2314.201314] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2314.205496] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2314.205606] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2314.207759] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2314.242455] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2314.248267] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2316.278282] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2316.280671] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2316.337201] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2316.337305] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2316.337406] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2316.343649] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2316.343761] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2316.346898] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2316.378750] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2316.384626] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2318.399810] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2318.403761] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2318.476763] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2318.476871] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2318.476970] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2318.483463] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2318.483575] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2318.486009] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2318.518518] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2318.524911] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2320.832253] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
UDEV [2320.834851] change /devices/pci0000:00/0000:00:02.0/backlight/acpi_video0 (backlight)
KERNEL[2322.475447] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2322.477997] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2324.108475] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2324.109677] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2324.110969] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2324.111073] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2324.114592] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2324.122533] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2324.311451] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2324.533940] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2325.414170] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2325.416573] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2325.447643] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2325.448617] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2325.448718] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2325.449008] remove /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2325.452997] add /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2325.456873] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[2325.491657] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
UDEV [2325.496300] change /devices/LNXSYSTM:00/device:00/ACPI0003:00/power_supply/AC0 (power_supply)
KERNEL[2327.986481] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [2327.988995] change /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 (power_supply)

If my battery have the netbook, longer time period the system is extreeme slowly.
Original linked bugreport have a this problem related link:
http://web.archiveorange.com/archive/v/7azSgetwkAZWsEpXKXWy
Unfortunately yesterday i experienced with 99% CPU usage with the first core, 91% the second core.
I will be sending attachment the generated log files.

Attila

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-23-generic-pae 3.2.0-23.36
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14
Uname: Linux 3.2.0-23-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
ApportVersion: 2.0.1-0ubuntu6
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: hammera 4373 F.... pulseaudio
 /dev/snd/pcmC0D0p: hammera 4373 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb00000 irq 44'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,1afa8105,00100101'
   Controls : 21
   Simple ctrls : 12
Date: Tue Apr 24 14:48:12 2012
HibernationDevice: RESUME=UUID=8e976c9a-7591-45d3-b075-204b38459902
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120327)
MachineType: Minix M1200 Series
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=49ea7e34-df71-4065-bf38-15ece9474ed6 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-23-generic-pae N/A
 linux-backports-modules-3.2.0-23-generic-pae N/A
 linux-firmware 1.79
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/11/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.4
dmi.board.name: M1200 Series
dmi.board.vendor: Minix
dmi.board.version: 1.00
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd09/11/2010:svnMinix:pnM1200Series:pvr1.00:rvnMinix:rnM1200Series:rvr1.00:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: M1200 Series
dmi.product.version: 1.00
dmi.sys.vendor: Minix

Revision history for this message
Attila Hammer (hammera) wrote :
Revision history for this message
Attila Hammer (hammera) wrote :
Revision history for this message
Attila Hammer (hammera) wrote :
Revision history for this message
Attila Hammer (hammera) wrote :
Revision history for this message
Attila Hammer (hammera) wrote :

This is the top command showed result when the battery is present my netbook.
Compare the next attaching top2.txt file with show right awerage result if the battery not present my netbook.

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

This is the second top result log, I generated when I removed the battery my netbook.
Have big differences the generated values. CPU usage newer 50%, the system drastical faster.
The login operation happening about two second after I sending my password with ENTER key, if the battery is present my netbook, I need waiting bigger time. Apps launching more faster, and the system more responsible.

Attila

affects: ubuntu → linux (Ubuntu)
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Do you know if this issue happened in a previous version of Ubuntu, or is this a new issue?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.4kernel[1] (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the other tags). This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.4-rc4-precise/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Attila Hammer (hammera) wrote : Re: [Bug 987807] Re: Possible kernel or udev sending too many events with upowerd, and this is resulting cpu usage increasing

Hy,

If I known right, this issue experienced some users since Ubuntu Natty.
http://ubuntuforums.org/showthread.php?p=10872780

Thank you the testing instructions, I will be doing the test this day.

Attila

Attila Hammer (hammera)
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Attila Hammer (hammera) wrote :

I done the latest 3.4 upstream kernel testing, unfortunately this bug existing with upstream kernel.
What the next testing step?
Load average is very high when the battery present my machine, cpu usage higher with 50%. Only opened a terminal window, running the top process and Orca Screen Reader to I hear the results.
Login operation happening about 19 second later when I press ENTER key after I typed my password, without battery this is maximum 4 second.
Prewious founded sudo killall upowerd suggestion not help, because upowerd process started again.
Unable to remove this package, because depending too many system components.
I tryed remove the indicator-power package, but this is not help.
If anybody known a good workaround until this bug is not fixed, I welcome trying, because I need very often my netbook using with battery when I travelling.
Testing purpose battery replacement unfortunately impossible, because I haven't got a second battery.

Attila

Revision history for this message
Andy Whitcroft (apw) wrote :

Added a upower task to get some input on whats interface upower is relying on.

Revision history for this message
Adrian Fita (afita) wrote :

Hi. I just wanted to notify you that this is also tracked and investigated at Debian #670958 [1] and it was just reported to the linux-kernel mailinglist [2].

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670958
[2] http://marc.info/?l=linux-kernel&m=133589822019991&w=2

Revision history for this message
Attila Hammer (hammera) wrote :

Hy,

If I see right, this bug is fixed in Debian with linux-2.6 3.2.18-1
package version, I attaching the patch with are applied with Debian package.
I see this with http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=670958
report.

I not tryed yet this patch my Ubuntu 12.04 system.

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

Hy,

If not a big request and not produce stability issues, Have possibility
to apply this patch in the kernel daily directory a test version?
This is help me lot of the testing, because my notebook have an Intel
Atom 455 CPU, with possible the kernel compilation require more time.
Now I compiling this patched kernel with my laptop, but unfortunately
not equals architecture versions I using. My notebook with beta2 state I
installed the Ubuntu 12.04 32bit version, but my netbook have the 64 bit
version.

Attila

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "ACPI-battery-only-refresh-the-sysfs-files-when-perti.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Attila Hammer (hammera) wrote : Re: [Bug 987807] Re: Possible kernel or udev sending too many events with upowerd, and this is resulting cpu usage increasing

Hy,

I generated a custom kernel with make-kpkg command with containing the
Debian report committed patch.
The test now not I doed yet my netbook, but my laptop top showing
following good values:
hammera@hammera-Satellite-L300:~$ top

top - 13:36:23 up 19 min, 2 users, load average: 0.41, 0.80, 0.59
Tasks: 162 total, 2 running, 160 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.2%us, 2.5%sy, 0.0%ni, 94.3%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 2051896k total, 707148k used, 1344748k free, 75016k buffers
Swap: 2977804k total, 0k used, 2977804k free, 376160k cached

   PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND

  2128 hammera 9 -11 163m 9020 7404 S 6 0.4 0:23.55 pulseaudio

  2816 hammera 20 0 114m 5560 3124 S 3 0.3 0:10.87 sd_espeak

  3400 hammera 20 0 148m 30m 13m S 2 1.5 0:07.15 orca

     1 root 20 0 3644 2056 1352 S 0 0.1 0:02.94 init

   768 root 20 0 25584 1476 1176 S 0 0.1 0:03.65 brltty

  1660 root 20 0 28492 3920 3184 S 0 0.2 0:01.07 upowerd

  2186 root 0 -20 2276 444 344 S 0 0.0 0:01.30 cpulimit

  3553 hammera 20 0 226m 16m 11m S 0 0.8 0:02.11
gnome-terminal
  3661 hammera 20 0 2836 1168 880 R 0 0.1 0:01.22 top

     2 root 20 0 0 0 0 S 0 0.0 0:00.00 kthreadd

     3 root 20 0 0 0 0 S 0 0.0 0:00.13
ksoftirqd/0
     6 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/0
     7 root RT 0 0 0 0 S 0 0.0 0:00.00 watchdog/0

     8 root RT 0 0 0 0 S 0 0.0 0:00.00
migration/1
    10 root 20 0 0 0 0 S 0 0.0 0:00.13
ksoftirqd/1
hammera@hammera-Satellite-L300:~$

The interesting result will be my netbook, but possible I need
generating an Amd64 architecture compatible version.
Now used custom kernel version is following with generated make-kpkg
command:
Linux hammera-Satellite-L300 3.2.16 #1 SMP Wed May 23 10:26:26 CEST 2012
i686 i686 i386 GNU/Linux

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

I installed now with Ubuntu 12.04 32 bit version my netbook, because I
not want wayting the kernel compilation my 64 bit system.
I installed the patched 3.2.16 custom kernel version. Hopefuly I right
applied the patch, but the test results is I think good.

Login operation happening about 6 second after I press ENTER key if I
using my netbook with battery.
Top shows minimum 12%, maximum 32% CPU usage, and always not upowerd
daemon using the most cpu capacity.
Possible this is a subjective experience, but now entire system my
netbook more responsive. Prewious I only possible decrease CPU usage if
I restrict upowerd daemon cpu usage with 1% with cpulimit utility.
Please look the attachments, only interesting thing upower monitor
related text file have following outputs:
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[18:12:55.857] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:56.666] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:56.740] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:56.802] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:56.803] device changed:
/org/freedesktop/UPower/devices/line_power_AC0
[18:12:56.847] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:57.863] device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[18:12:58.803] device changed:
/org/freedesktop/UPower/devices/battery_BAT0

This is right, or I applyed wrong the Debian committed patch?

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

Hy,

Will be committing the attached Debian already accepted patch with Linux
source package before 12.04.1 maintenance release?
I using day by day this wrote patched kernel my netbook and not
experienced any problem.

Attila

Revision history for this message
Attila Hammer (hammera) wrote :

If not a big request, please commit my attached patch with fix in Debian the bug 670958 bug.
Until this patch is not committed and fix not released, I unable to upgrade the kernel my netbook, because I not would like every time making a patched kernel version. :-):-)
If need doing other tests, please tell me and I welcome doing required tests this bug related.

Attila

Revision history for this message
penalvch (penalvch) wrote :

Attila Hammer, the requested upstream fix is available in Precise+ as per http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-precise.git;a=commit;h=c5971456964290da7e98222892797b71ef793e62 . Hence, this is considered closed. If this is still reproducible, please reopen and execute the following via a terminal:
apport-collect -p linux 987807

no longer affects: upower (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.