*** This bug is a duplicate of bug 1066208 ***
    https://bugs.launchpad.net/bugs/1066208

Here is an ugly patch that works for me (Logitech K810):

--- a/src/linux/up-device-supply.c      2013-06-08 15:07:46.161694077 -0700
+++ b/src/linux/up-device-supply.c      2013-06-08 15:07:05.665695138 -0700
@@ -867,6 +867,8 @@
                } else if (g_ascii_strcasecmp (device_type, "battery") == 0) {
                        type = UP_DEVICE_KIND_BATTERY;
                        supply->priv->is_power_supply = TRUE;
+gchar *device_name = up_device_supply_get_string (native_path, "model_name");
+if (device_name && ! g_ascii_strcasecmp (device_name, "Logitech K810")) goto 
out;
                } else if (g_ascii_strcasecmp (device_type, "USB") == 0) {
 
                        /* use a heuristic to find the device type */

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1086746

Title:
  Bluetooth keyboard battery interpreted as laptop battery

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to