[Pkg-utopia-maintainers] Bug#772095: upower: bluetooth HID keyboard shows up as laptop battery

Sean Cross xobs at kosagi.com
Fri Dec 5 03:45:51 UTC 2014


Subject: upower: bluetooth HID keyboard shows up as laptop battery
Package: upower
Version: 0.99.1-3.1
Severity: normal

Dear Maintainer,

The UPower battery detection system incorrectly assumes that Bluetooth
keyboards have an
"input" node immediately underneath the "bluetooth" node.  With HID
devices, the "input"
node exists under a subsequent "hid" node.

Because of this, Bluetooth HID batteries will appear as full laptop
batteries, and upower will
incorrectly assume main power is dying when the laptop keyboard runs low
on power.

This bug has been reported upstream, but no action has been taken:
https://bugs.freedesktop.org/show_bug.cgi?id=86510

The attached patch solves the problem.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.17.0-rc5-00226-gdcb0c37 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages upower depends on:
ii  dbus               1.8.12-1
ii  libc6              2.19-13
ii  libdbus-1-3        1.8.12-1
ii  libdbus-glib-1-2   0.102-1
ii  libglib2.0-0       2.42.0-2
ii  libgudev-1.0-0     215-7
ii  libimobiledevice4  1.1.6+dfsg-3.1
ii  libplist2          1.11-3
ii  libupower-glib3    0.99.1-3.1
ii  libusb-1.0-0       2:1.0.19-1
ii  udev               215-7

Versions of packages upower recommends:
ii  policykit-1  0.105-8

upower suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-support-for-hid-keyboard-batteries.patch
Type: text/x-patch
Size: 4334 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20141205/50cd91fe/attachment-0001.bin>


More information about the Pkg-utopia-maintainers mailing list