<div dir="ltr">Here&#39;s the plasmoidviewer&#39;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[&quot;AC Adapter&quot;], dataEngine.data[&quot;Battery0&quot;], dataEngine.data[&quot;PowerDevil&quot;] are [undefined], I&#39;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">&lt;<a href="mailto:viranch.mehta@gmail.com">viranch.mehta@gmail.com</a>&gt;</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">&lt;<a href="mailto:aseigo@kde.org" target="_blank">aseigo@kde.org</a>&gt;</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>&gt; print(dataEngine.data[&quot;PowerDevil&quot;][&quot;Available profiles&quot;]);<br>
<br>
</div>wait .. what is &quot;dataEngine&quot;? is it the actual dataEngine? or? it&#39;s entirely<br>
impossible to tell what this code is actually doing without a bit more<br>
context.<br>
<br></blockquote></div><div>Here&#39;s the dataEngine:</div><div><br></div><div>PlasmaCore.DataSource {</div><div>    id: dataEngine</div><div>    engine: &quot;powermanagement&quot;</div>
<div>    connectedSources: [&quot;AC Adapter&quot;, &quot;Battery&quot;, &quot;Battery 0&quot;, &quot;PowerDevil&quot;]</div><div>    interval: 0</div>
<div>}</div><div><br></div><div>Everything else works fine. I&#39;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>