[Kde-hardware-devel] Review Request 111719: Add stub getters for isPowerSupply and capacity in IOKit battery interface
Commit Hook
null at kde.org
Fri Jul 26 13:02:45 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111719/
-----------------------------------------------------------
(Updated July 26, 2013, 1:02 p.m.)
Status
------
This change has been marked as submitted.
Review request for Solid, Kurt Hindenburg and Lukáš Tinkl.
Description
-------
This adds stub getter functions for isPowerSupply (which always returns true, we rather have all batteries (laptop battery *and* mice) respected rather than none) and capacity (which always returns 100%).
Should make it compile on OSX?
Didn't find any documentation about the properties I can fetch from IOKit (it probably has a capacity property, not sure about the powersupply thing)
Diffs
-----
solid/solid/backends/iokit/iokitbattery.h 7827413
solid/solid/backends/iokit/iokitbattery.cpp 55248d9
Diff: http://git.reviewboard.kde.org/r/111719/diff/
Testing
-------
Nope.
Thanks,
Kai Uwe Broulik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20130726/40293bf0/attachment.html>
More information about the Kde-hardware-devel
mailing list