#800822 upower: fails when a device is connected and the computer is not as trusted

Package:
upower
Source:
upower
Description:
abstraction for power management
Submitter:
Wendell Júnior
Date:
2015-10-04 00:51:05 UTC
Severity:
normal
#800822#5
Date:
2015-10-04 00:49:23 UTC
From:
To:
When I connect my iPad and I do not trust my computer on it. upower begins to
fail indefinitely, until I unplug the iPad or trust my computer on it.

$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ACAD
  native-path:          ACAD
  power supply:         yes
  updated:              Sat 03 Oct 2015 21:36:09 BRT (2 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes
    icon-name:          'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          BAT1
  vendor:               SIMPLO
  model:                DELL 1WWHW463
  serial:               0BC8
  power supply:         yes
  updated:              Sat 03 Oct 2015 21:36:09 BRT (2 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              41.1312 Wh
    energy-empty:        0 Wh
    energy-full:         41.1312 Wh
    energy-full-design:  43.776 Wh
    energy-rate:         0.0114 W
    voltage:             12.595 V
    percentage:          100%
    capacity:            93.9583%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'
  History (charge):
    1443918969  0.000   unknown
  History (rate):
    1443918969  0.000   unknown

Device: /org/freedesktop/UPower/devices/computer_2_1
  native-path:          /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1
  vendor:               Apple_Inc.
  model:                iPad
  serial:               bcadf1b6e70db3004742b639f095730ada5719f2
  power supply:         no
  updated:              Wed 31 Dec 1969 21:00:00 BRT (1443918971 seconds ago)
  has history:          yes
  has statistics:       no
  computer
    warning-level:       none
    percentage:          0%
    icon-name:          'battery-missing-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Sat 03 Oct 2015 21:36:09 BRT (2 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               fully-charged
    warning-level:       none
    energy:              41.1312 Wh
    energy-full:         41.1312 Wh
    energy-rate:         0.0114 W
    percentage:          100%
    icon-name:          'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.3
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: (null)