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


This should have already been fixed in 4.11.

- Kai Uwe Broulik


On June 10, 2013, 6:09 p.m., Alberto Villa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/110941/
> -----------------------------------------------------------
> 
> (Updated June 10, 2013, 6:09 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Battery monitor sets "batteries.cumulativePluggedin" true when 
> "batteries.count" is greater than 0, but it's not a solid way to determine 
> it. At least on FreeBSD, there is the possibility that a battery is always 
> listed, even when not plugged in; this keeps the plasmoid from reacting on 
> battery removal. The solution is to check that at least one battery is 
> plugged in prior to enabling that property.
> 
> This is probably due to the way Solid creates the batteries in the 
> dataengine, still the patch is an improvement over the current behaviour, in 
> my opinion.
> 
> 
> Diffs
> -----
> 
>   plasma/generic/applets/batterymonitor/contents/code/logic.js 974694a 
>   plasma/generic/applets/batterymonitor/contents/ui/batterymonitor.qml 
> a5e1c13 
> 
> Diff: http://git.reviewboard.kde.org/r/110941/diff/
> 
> 
> Testing
> -------
> 
> Tested on FreeBSD 10, confirming the behaviour using some console.log().
> 
> 
> Thanks,
> 
> Alberto Villa
> 
>

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to