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

Commit Hook null at kde.org
Sat Aug 3 13:33:37 UTC 2013


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


This review has been submitted with commit a43f40516ceee4346bf101e5e317f28604634dd4 by Kai Uwe Broulik to branch KDE/4.11.

- Commit Hook


On July 26, 2013, 1:02 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, 1:02 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/20130803/3b2ea8f1/attachment.html>


More information about the Kde-hardware-devel mailing list