| Summary: | 0% charge shown for Apple Wireless Keyboard | ||
|---|---|---|---|
| Product: | upower | Reporter: | Rick Ucker <rick.ucker> |
| Component: | general | Assignee: | Richard Hughes <richard> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | rick.ucker |
| Version: | unspecified | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Rick Ucker
2015-06-07 15:24:20 UTC
Do you still see the same problem with a recent version (0.99.x) of UPower?
If so, could you please paste the output of:
for i in /sys/class/power_supply/* ; do find $i/ -type f -print -exec cat '{}' \; ; done
This should print the value in sysfs which the mouse offers up.
I can confirm that this now works properly with upower v 0.99.4-4 (Ubuntu 17.04). The keyboard's battery status shows up in Ubuntu's power applet, and I see a valid charge percentage reported by upower -d:
Device: /org/freedesktop/UPower/devices/keyboard_hid_e8o06o88o43o52od2_battery
native-path: hid-e8:06:88:43:52:d2-battery
model: Rick Ucker’s Keyboard
power supply: no
updated: Fri 15 Sep 2017 09:06:11 PM EDT (94 seconds ago)
has history: yes
has statistics: yes
keyboard
present: yes
rechargeable: yes
state: discharging
warning-level: none
percentage: 67%
icon-name: 'battery-full-symbolic'
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.