power indicator shows Apple BT mouse batteries with 0%

Bug #1375540 reported by Zygfryd Homonto
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
indicator-power (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

on Macbook Pro 11,3 (15" i7 mid 2014) the power indicator always showes 0% for connected Apple white mouse
on MacOS it is ok

Revision history for this message
Zygfryd Homonto (homonto) wrote :

05:40:35 papio@mb15papio:~/$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path: ADP1
  power supply: yes
  updated: Tue 30 Sep 2014 04:16:17 AM EAT (5363 seconds ago)
  has history: no
  has statistics: no
  line-power
    online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: BAT0
  vendor: DPONz45142DF9CRAM123456789ABCDE
  model: bq20z45142DF9CRAM123456789ABCDE
  power supply: yes
  updated: Tue 30 Sep 2014 05:45:23 AM EAT (17 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: fully-charged
    energy: 84.57 Wh
    energy-empty: 0 Wh
    energy-full: 87.5 Wh
    energy-full-design: 84.4 Wh
    energy-rate: 0 W
    voltage: 12.717 V
    percentage: 96%
    capacity: 100%

Device: /org/freedesktop/UPower/devices/mouse_hid_04odbo56o65ocdoe1_battery
  native-path: hid-04:db:56:65:cd:e1-battery
  model: papio_mouse
  power supply: no
  updated: Tue 30 Sep 2014 05:45:18 AM EAT (22 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 0%

Daemon:
  daemon-version: 0.9.23
  can-suspend: yes
  can-hibernate: no
  on-battery: no
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: no

Revision history for this message
Zygfryd Homonto (homonto) wrote :

05:49:45 papio@mb15papio:~/.claws-mail$ cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

05:55:41 papio@mb15papio:~/.claws-mail$ uname -a
Linux mb15papio 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
05:55:44 papio@mb15papio:~/.claws-mail$

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-power (Ubuntu):
status: New → Confirmed
Revision history for this message
Yura (ykuchinskiy) wrote :

The same case is here, but with Lenovo ThinkPad BT keyboard KT-1255, and Evoluent VerticalMouse BT mouse, and Dell BT m ouse.
I suspect that it maybe due to one of kernel updates, because I remember that it worked correct. Will try to rollback kernel...

$ cat /etc/issue
Ubuntu 14.04.1 LTS

$ uname -a
Linux yku-helix 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ upower --dump

...

Device: /org/freedesktop/UPower/devices/mouse_hid_90o7fo61o11o29ofd_battery
  native-path: hid-90:7f:61:11:29:fd-battery
  model: ThinkPad Compact Bluetooth Keyboard with TrackPoint
  power supply: no
  updated: Thu 09 Oct 2014 09:54:59 PM PDT (22 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 0%

Daemon:
  daemon-version: 0.9.23

Revision history for this message
Yura (ykuchinskiy) wrote :

extra info, it looks like problem has been introduced after linus kernel 3.13.0-11.

on linux kernel 3.13.0-11 everything works OK, but on kernels 3.13.0-27 thru 3.13.0-36 system cannot detect BT mouse/keyboard battery charge %

I did not test kernels between 11 & 27, will check if something available in the repo to test...

------------------- OK -------------------
$ uname -a
Linux yku-helix 3.13.0-11-generic #31-Ubuntu SMP Wed Feb 19 19:57:21 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ upower --dum
...
Device: /org/freedesktop/UPower/devices/mouse_hid_90o7fo61o11o29ofd_battery
  native-path: hid-90:7f:61:11:29:fd-battery
  model: ThinkPad Compact Bluetooth Keyboard with TrackPoint
  power supply: no
  updated: Thu 09 Oct 2014 10:27:09 PM PDT (9 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 100%
  History (charge):
    1412918798 100.000 discharging
    1412918798 0.000 unknown
  History (rate):
    1412918798 0.000 unknown

Daemon:
  daemon-version: 0.9.23

------------------- PROBLEM -------------------
$ uname -a
Linux yku-helix 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ uname -a
Linux yku-helix 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ uname -a
Linux yku-helix 3.13.0-27-generic #50-Ubuntu SMP Thu May 15 18:06:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ upower --dum
...
Device: /org/freedesktop/UPower/devices/mouse_hid_90o7fo61o11o29ofd_battery
  native-path: hid-90:7f:61:11:29:fd-battery
  model: ThinkPad Compact Bluetooth Keyboard with TrackPoint
  power supply: no
  updated: Thu 09 Oct 2014 10:33:54 PM PDT (9 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 0%
  History (charge):
    1412919234 0.000 unknown
  History (rate):
    1412919234 0.000 unknown

Revision history for this message
Yura (ykuchinskiy) wrote :

It looks like 3.13.0-24 works OK as well, so will look at delta between 24 & 27 releases... to see if I can fing something...

-------------------
$ uname -a
Linux yku-helix 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ upower --dum
...
Device: /org/freedesktop/UPower/devices/mouse_hid_90o7fo61o11o29ofd_battery
  native-path: hid-90:7f:61:11:29:fd-battery
  model: ThinkPad Compact Bluetooth Keyboard with TrackPoint
  power supply: no
  updated: Fri 10 Oct 2014 12:12:02 AM PDT (21 seconds ago)
  has history: yes
  has statistics: yes
  mouse
    present: yes
    rechargeable: yes
    state: discharging
    percentage: 100%
  History (charge):
    1412925122 100.000 discharging
    1412925122 0.000 unknown
  History (rate):
    1412925122 0.000 unknown

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.