Comment 10 for bug 1318026

Revision history for this message
7oby (tobias-hain) wrote :

I just upgraded Kubuntu 14.04 -> 14.10 and my Apple Wireless keyboard and Mouse battery indicatores do show up again (command line and KDE widgets):

$ upower -i /org/freedesktop/UPower/devices/battery_hid_90o84o0doffo70oc2_battery
  native-path: hid-90:84:0d:ff:70:c2-battery
  model: Apple Wireless Keyboard
  power supply: no
  updated: Sa 01 Nov 2014 20:25:15 CET (8 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    energy: 0 Wh
    energy-empty: 0 Wh
    energy-full: 0 Wh
    energy-full-design: 0 Wh
    energy-rate: 0 W
    percentage: 71%
    capacity: 100%

$ upower -i /org/freedesktop/UPower/devices/battery_hid_7co6do62of1oefob1_battery
  native-path: hid-7c:6d:62:f1:ef:b1-battery
  model: tobias’s mouse
  power supply: no
  updated: Sa 01 Nov 2014 20:25:15 CET (23 seconds ago)
  has history: yes
  has statistics: yes
  battery
    present: yes
    rechargeable: yes
    state: discharging
    energy: 0 Wh
    energy-empty: 0 Wh
    energy-full: 0 Wh
    energy-full-design: 0 Wh
    energy-rate: 0 W
    percentage: 78%
    capacity: 100%

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.10
Release: 14.10
Codename: utopic
$ uname -a
Linux thinktank 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Maybe some others can confirm my observation.

Howevver I'm not sure whether it has been a regression in the kernel or an API change which breaks the user-space applications reading those values. As fas as I remember I have been booting into 3.16 und 3.17
http://kernel.ubuntu.com/~kernel-ppa/mainline/
from 14.04 LTS and the issue persisted (read: no battery indicator). This makes me think the reason might be in some ubuntu maintained user-space interface or other kernel module.

BEFORE upgrading to 14.10 make sure to backup your data / installation! On Kubuntu I hit into this issue - which completely breaks your system if you can't help yourself:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1388071