Package: upower
Version: 0.9.15-3

--- Please enter the report below this line. ---

I have the same problem and I believe it's caused by the battery,
upowerd runs pretty much all the time at 50% to 90% CPU.

If I remove the laptop battery the problem disappears and CPU usage goes
back to normal (0% most of the time).

If I monitor upowerd I can see that the battery state is continuously
updated:

# upower --monitor
Monitoring activity from the power daemon. Press Ctrl+C to cancel.
[11:00:05.202]  device removed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:09.834]  device added:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:09.836]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:09.839]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:09.842]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:09.846]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:10.790]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:11.791]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:24.235]  device removed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:29.051]  device added:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:29.055]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:29.058]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:29.061]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:29.067]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:30.792]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
[11:00:31.791]  device changed:
/org/freedesktop/UPower/devices/battery_BAT0
^C

The battery icon in gnome shell keeps appearing and disappearing every
(more or less) 15 seconds as if the battery was being plugged and
unplugged. When the battery icon is visible it reports the battery
status as charging, 97%. The battery is never reported as 100% full,
even if the laptop has been plugged to the AC power all night.

If I kill the upowerd process the battery icon stops flipping on and
off, it's visible all the time and it reports the status as charging,
97% (fixed).

This is very annoying because, since several packages depend on upowerd,
removing it is not an option and on Debian Testing and there is no other
version in the repositories. All I can do to work around this problem is
to either work without a battery or kill the upowerd process when it
starts hogging the cpu time.


Thanks,


Paolo

--- System information. ---
Architecture: i386
Kernel:       Linux 3.2.0-2-686-pae

Debian Release: wheezy/sid
  500 testing         www.debian-multimedia.org
  500 testing         security.debian.org
  500 testing         ftp.us.debian.org
  500 testing         deb.opera.com
  500 stable          dl.google.com
  500 squeeze         debian.fusionforge.org
  500 binary          pkg.jenkins-ci.org
   50 experimental    ftp.us.debian.org
  100 unstable        oss.oracle.com
  100 unstable        ftp.us.debian.org

--- Package information. ---
Depends                      (Version) | Installed
======================================-+-=============
libc6                         (>= 2.4) | 2.13-30
libdbus-1-3                 (>= 1.0.2) | 1.5.12-1
libdbus-glib-1-2             (>= 0.88) | 0.98-1
libglib2.0-0               (>= 2.30.0) | 2.32.0-4
libgudev-1.0-0                (>= 146) | 175-3.1
libimobiledevice2           (>= 0.9.7) | 1.1.1-4
libplist1                    (>= 0.16) | 1.8-1
libpolkit-gobject-1-0        (>= 0.99) | 0.104-2
libupower-glib1             (>= 0.9.2) | 0.9.15-3
libusb-1.0-0              (>= 2:1.0.8) | 2:1.0.9~rc3-4
udev                                   | 175-3.1
dbus                                   | 1.5.12-1
pm-utils                               | 1.4.1-9


Recommends       (Version) | Installed
==========================-+-===========
policykit-1                | 0.104-2


Package's Suggests field is empty.
Module                  Size  Used by
usb_storage            35142  0 
uas                    13096  0 
cdc_acm                17596  0 
vboxpci                18713  0 
vboxnetadp             13143  0 
vboxnetflt             23231  0 
vboxdrv               164987  3 vboxnetflt,vboxnetadp,vboxpci
snd_seq_dummy          12455  0 
pci_stub               12397  1 
snd_hrtimer            12540  1 
microcode              13265  0 
acpi_cpufreq           12807  1 
mperf                  12421  1 acpi_cpufreq
cpufreq_powersave      12422  0 
cpufreq_userspace      12520  0 
cpufreq_conservative    12987  0 
cpufreq_stats          12762  0 
decnet                 51462  0 
parport_pc             22036  0 
ppdev                  12651  0 
lp                     12797  0 
parport                31254  3 lp,ppdev,parport_pc
bnep                   17288  2 
rfcomm                 28590  14 
binfmt_misc            12813  1 
uinput                 12991  1 
deflate                12495  0 
zlib_deflate           21318  1 deflate
ctr                    12851  0 
twofish_generic        16529  0 
twofish_i586           12453  0 
twofish_common         20528  2 twofish_i586,twofish_generic
camellia               24892  0 
serpent                24847  0 
blowfish_generic       12424  0 
blowfish_common        16431  1 blowfish_generic
cast5                  24773  0 
des_generic            20771  0 
cbc                    12666  0 
cryptd                 14125  0 
aes_i586               16608  3 
aes_generic            32970  1 aes_i586
xcbc                   12629  0 
rmd160                 16584  0 
sha512_generic         16675  0 
sha256_generic         16709  0 
sha1_generic           12483  0 
hmac                   12715  0 
crypto_null            12636  0 
af_key                 31121  0 
fuse                   52153  1 
coretemp               12770  0 
loop                   17810  0 
uvcvideo               56896  0 
videodev               61658  1 uvcvideo
media                  13692  2 videodev,uvcvideo
snd_hda_codec_hdmi     26319  1 
snd_hda_codec_analog    65019  1 
btusb                  17278  2 
bluetooth             103750  23 btusb,rfcomm,bnep
crc16                  12327  1 bluetooth
arc4                   12418  2 
snd_hda_intel          21856  2 
snd_hda_codec          63477  3 
snd_hda_intel,snd_hda_codec_analog,snd_hda_codec_hdmi
ath9k                  67776  0 
ath9k_common           12648  1 ath9k
ath9k_hw              311354  2 ath9k_common,ath9k
snd_hwdep              12943  1 snd_hda_codec
snd_pcm_oss            36181  0 
snd_mixer_oss          17668  1 snd_pcm_oss
snd_pcm                53390  4 
snd_pcm_oss,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
ath                    17114  3 ath9k_hw,ath9k_common,ath9k
mac80211              171359  1 ath9k
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
snd_seq_midi           12744  0 
snd_seq_midi_event     13124  1 snd_seq_midi
cfg80211              117454  3 mac80211,ath,ath9k
snd_rawmidi            18376  1 snd_seq_midi
snd_seq                39487  4 snd_seq_midi_event,snd_seq_midi,snd_seq_dummy
i915                  307595  3 
snd_seq_device         13016  4 snd_seq,snd_rawmidi,snd_seq_midi,snd_seq_dummy
snd_timer              22356  3 snd_hrtimer,snd_seq,snd_pcm
snd                    42691  17 
snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_analog,snd_hda_codec_hdmi
joydev                 17010  0 
soundcore              12921  1 snd
drm_kms_helper         22699  1 i915
drm                   134178  4 drm_kms_helper,i915
hp_wmi                 13121  0 
sparse_keymap          12680  1 hp_wmi
rfkill                 18516  5 hp_wmi,cfg80211,bluetooth
i2c_algo_bit           12713  1 i915
iTCO_wdt               16945  0 
processor              27522  3 acpi_cpufreq
button                 12817  1 i915
i2c_core               19116  5 i2c_algo_bit,drm,drm_kms_helper,i915,videodev
battery                12957  0 
container              12525  0 
video                  17412  1 i915
ac                     12552  0 
iTCO_vendor_support    12632  1 iTCO_wdt
wmi                    13051  1 hp_wmi
hp_accel               25080  0 
psmouse                54927  0 
lis3lv02d              17617  1 hp_accel
pcspkr                 12515  0 
serio_raw              12803  0 
evdev                  17225  26 
input_polldev          12802  1 lis3lv02d
power_supply           13283  2 ac,battery
ext3                  138190  1 
mbcache                12897  1 ext3
jbd                    51377  1 ext3
dm_mirror              17376  0 
dm_region_hash         13235  1 dm_mirror
dm_log                 13309  2 dm_region_hash,dm_mirror
dm_mod                 57278  2 dm_log,dm_mirror
sd_mod                 35425  3 
sr_mod                 17468  0 
crc_t10dif             12332  1 sd_mod
cdrom                  34813  1 sr_mod
usbhid                 31523  0 
hid                    60120  1 usbhid
fan                    12594  0 
thermal                13103  0 
thermal_sys            17752  4 thermal,fan,video,processor
sky2                   40414  0 
ahci                   20821  2 
libahci                18308  1 ahci
uhci_hcd               22337  0 
libata                124981  2 libahci,ahci
scsi_mod              135194  5 libata,sr_mod,sd_mod,uas,usb_storage
ehci_hcd               35509  0 
usbcore               104352  9 
ehci_hcd,uhci_hcd,usbhid,btusb,uvcvideo,cdc_acm,uas,usb_storage
usb_common             12338  1 usbcore

Reply via email to