[Kde-hardware-devel] Review Request 111719: Add stub getters for isPowerSupply and capacity in IOKit battery interface

Lukáš Tinkl lukas at kde.org
Fri Jul 26 12:56:41 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111719/#review36539
-----------------------------------------------------------

Ship it!


Ship It!

- Lukáš Tinkl


On July 26, 2013, 2:40 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111719/
> -----------------------------------------------------------
> 
> (Updated July 26, 2013, 2:40 p.m.)
> 
> 
> 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/3632d89c/attachment.html>


More information about the Kde-hardware-devel mailing list