Hey Peter Wu, Peter Wu [2013-09-03 23:24 +0200]: > (1) If the K800 keyboard is charging via the USB cable, it will report > itself as Charging, but with a discharge level of 0 (which means > "unknown". In this case, the previous known value (before > connecting the cable) is always a better approximation than using > zero. > (2) When the K800 has fully charged (but with the cable still plugged > in), it will still report 0 as discharge level. "Full" is 100% by > definition, so let's fallback to that value.
Two words: hardware sucks :-) Thanks for this polishing! Applied. Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel