<div dir="ltr">Here's the plasmoidviewer's output: <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://paste.kde.org/80143/">http://paste.kde.org/80143/</a> (the pmSource in the output=dataEngine)<div>
<br></div><div><a href="http://paste.kde.org/80143/"></a>Though it says dataEngine.data["AC Adapter"], dataEngine.data["Battery0"], dataEngine.data["PowerDevil"] are [undefined], I'm able to access the data associated with the sources.<br>
<br><div class="gmail_quote">On Thu, Jun 9, 2011 at 3:50 PM, Viranch Mehta <span dir="ltr"><<a href="mailto:viranch.mehta@gmail.com">viranch.mehta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><br><br><div class="gmail_quote"><div class="im">On Thu, Jun 9, 2011 at 3:40 PM, Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org" target="_blank">aseigo@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote:<br>
</div><div>> print(dataEngine.data["PowerDevil"]["Available profiles"]);<br>
<br>
</div>wait .. what is "dataEngine"? is it the actual dataEngine? or? it's entirely<br>
impossible to tell what this code is actually doing without a bit more<br>
context.<br>
<br></blockquote></div><div>Here's the dataEngine:</div><div><br></div><div>PlasmaCore.DataSource {</div><div> id: dataEngine</div><div> engine: "powermanagement"</div>
<div> connectedSources: ["AC Adapter", "Battery", "Battery 0", "PowerDevil"]</div><div> interval: 0</div>
<div>}</div><div><br></div><div>Everything else works fine. I'm able to get the battery charge info, whether its plugged in to AC source or not, etc.</div><div><br></div><div>Cheers,</div><div>Viranch</div><div><br></div>
</div></div>
</blockquote></div><br></div></div>