Thanks for the quick answer!
On 02/28/2014 10:15 AM, Bastien Nocera wrote:
<snip>Thus, the "time-to-empty" flag is only available for BAT1 and clearly only displays the time to empty FOR THAT PARTICULAR battery, but not when using ALL batteries.The front-ends are supposed to coalesce all the batteries together.
Problem: For example KDE DOES try to do this, but the "time-to-empty" information is missing for "fully charged" batteries! Hence, the frontend is not able to calculate a total battery lifetime...
See: mo-thinkpad01:~ # upower -i /org/freedesktop/UPower/devices/battery_BAT0 ... battery <NO "time to empty" available as battery is not discharged> mo-thinkpad01:~ # upower -i /org/freedesktop/UPower/devices/battery_BAT1 ... battery time to empty: 10.2 hours
Is this a known limitation?Yes. Or you can use UPower 0.99.x which fixes that through the concept of a "display battery", which will put together all the information from all the batteries and not require every front-end to do that.I would like upower to provide an additional "overall-time-to-empty" value using ALL batteries / energy sources installed.That's already done, you're just using an old version of UPower :) Cheers
Ok, great! I will look at upower 0.99 and try to create a patch for KDE. -- Dipl.-Ing. Joschi Brauchle, M.S. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauc...@tum.de Web: http://www.lnt.ei.tum.de/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel