← Back to team overview

touch-packages team mailing list archive

[Bug 1458875] [NEW] Upower report wrong level of bluetooth mouse battery and battery level icon is wrong

 

Public bug reported:

On Ubuntu 15.04 my bluetooth mouse gives this message:

May 26 15:12:45 hp850ssd upowerd[1071]: (upowerd:1071): UPower-Linux-
WARNING **: no valid voltage value found for device
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0002/power_supply/hid-00:02:76:4f:9b
:cb-battery, assuming 10V

My mouse has two AA battery, so level is wrong and the battery icon
report wrong laptop status until I click with right button on battery
icon

This is upower -d output

Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              mar 26 mag 2015 15:12:38 CEST (816 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_BAT0
  native-path:          BAT0
  vendor:               Hewlett-Packard
  model:                Primary
  serial:               00585 2014/03/10
  power supply:         yes
  updated:              mar 26 mag 2015 15:24:21 CEST (113 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              121,57 Wh
    energy-empty:        0 Wh
    energy-full:         124,18 Wh
    energy-full-design:  124,18 Wh
    energy-rate:         13,6686 W
    voltage:             12,601 V
    percentage:          97%
    capacity:            100%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/battery_hid_00o02o76o4fo9bocb_battery
  native-path:          hid-00:02:76:4f:9b:cb-battery
  model:                HP Touch to Pair Mouse
  power supply:         no
  updated:              mar 26 mag 2015 15:25:46 CEST (28 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       action
    energy:              0 Wh
    energy-empty:        0 Wh
    energy-full:         0 Wh
    energy-full-design:  0 Wh
    energy-rate:         0 W
    percentage:          0%
    capacity:            100%
    icon-name:          'battery-caution-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              mar 26 mag 2015 15:01:45 CEST (1469 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               fully-charged
    warning-level:       none
    energy:              121,57 Wh
    energy-full:         124,18 Wh
    energy-rate:         13,6686 W
    percentage:          97%
    icon-name:          'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.2
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep

** Affects: upower (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Battery icon detail"
   https://bugs.launchpad.net/bugs/1458875/+attachment/4404840/+files/Schermata%20del%202015-05-26%2015%3A22%3A42.png

-- 
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/1458875

Title:
  Upower report wrong level of bluetooth mouse battery and battery level
  icon is wrong

Status in upower package in Ubuntu:
  New

Bug description:
  On Ubuntu 15.04 my bluetooth mouse gives this message:

  May 26 15:12:45 hp850ssd upowerd[1071]: (upowerd:1071): UPower-Linux-
  WARNING **: no valid voltage value found for device
  /sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.2/1-3.2:1.0/bluetooth/hci0/hci0:11/0005:03F0:044C.0002/power_supply/hid-00:02:76:4f:9b
  :cb-battery, assuming 10V

  My mouse has two AA battery, so level is wrong and the battery icon
  report wrong laptop status until I click with right button on battery
  icon

  This is upower -d output

  Device: /org/freedesktop/UPower/devices/line_power_AC
    native-path:          AC
    power supply:         yes
    updated:              mar 26 mag 2015 15:12:38 CEST (816 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_BAT0
    native-path:          BAT0
    vendor:               Hewlett-Packard
    model:                Primary
    serial:               00585 2014/03/10
    power supply:         yes
    updated:              mar 26 mag 2015 15:24:21 CEST (113 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               fully-charged
      warning-level:       none
      energy:              121,57 Wh
      energy-empty:        0 Wh
      energy-full:         124,18 Wh
      energy-full-design:  124,18 Wh
      energy-rate:         13,6686 W
      voltage:             12,601 V
      percentage:          97%
      capacity:            100%
      technology:          lithium-ion
      icon-name:          'battery-full-charged-symbolic'

  Device: /org/freedesktop/UPower/devices/battery_hid_00o02o76o4fo9bocb_battery
    native-path:          hid-00:02:76:4f:9b:cb-battery
    model:                HP Touch to Pair Mouse
    power supply:         no
    updated:              mar 26 mag 2015 15:25:46 CEST (28 seconds ago)
    has history:          yes
    has statistics:       yes
    battery
      present:             yes
      rechargeable:        yes
      state:               discharging
      warning-level:       action
      energy:              0 Wh
      energy-empty:        0 Wh
      energy-full:         0 Wh
      energy-full-design:  0 Wh
      energy-rate:         0 W
      percentage:          0%
      capacity:            100%
      icon-name:          'battery-caution-symbolic'

  Device: /org/freedesktop/UPower/devices/DisplayDevice
    power supply:         yes
    updated:              mar 26 mag 2015 15:01:45 CEST (1469 seconds ago)
    has history:          no
    has statistics:       no
    battery
      present:             yes
      state:               fully-charged
      warning-level:       none
      energy:              121,57 Wh
      energy-full:         124,18 Wh
      energy-rate:         13,6686 W
      percentage:          97%
      icon-name:          'battery-full-charged-symbolic'

  Daemon:
    daemon-version:  0.99.2
    on-battery:      no
    lid-is-closed:   no
    lid-is-present:  yes
    critical-action: HybridSleep

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1458875/+subscriptions


Follow ups

References