$ echo /sys/class/power_supply/*/capacity
/sys/class/power_supply/hid-34:88:5d:5e:0c:2f-battery/capacity

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1769075

Title:
  [regression][bionic] Bluetooth keyboard battery reports 0%

Status in bluez package in Ubuntu:
  Invalid
Status in linux package in Ubuntu:
  New

Bug description:
  I've recently upgraded to 18.04 from 17.10 and after the upgrade "upower -d"
  reports always 0% as battery percentage of the bluetooth Logitech K810 
keyboard.
  Which is a bit annoying since I get a KDE warning on the battery.

  Device: /org/freedesktop/UPower/devices/keyboard_hid_34o88o5do5eo0co2f_battery
    native-path:          hid-34:88:5d:5e:0c:2f-battery
    model:                Logitech K810
    power supply:         no
    updated:              Fri 04 May 2018 09:20:43 AM CEST (51 seconds ago)
    has history:          yes
    has statistics:       yes
    keyboard
      present:             yes
      rechargeable:        yes
      state:               unknown
      warning-level:       none
      percentage:          0%
      icon-name:          'battery-missing-symbolic'

  My guess is that the issue is in the bluetooth rather in the upowerd
  since the reporting in the /sys/devices shows battery level of 0

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to