On Thu, Jun 9, 2011 at 3:40 PM, Aaron J. Seigo <ase...@kde.org> wrote:
> On Wednesday, June 8, 2011 23:20:02 Viranch Mehta wrote: > > print(dataEngine.data["PowerDevil"]["Available profiles"]); > > wait .. what is "dataEngine"? is it the actual dataEngine? or? it's > entirely > impossible to tell what this code is actually doing without a bit more > context. > > Here's the dataEngine: PlasmaCore.DataSource { id: dataEngine engine: "powermanagement" connectedSources: ["AC Adapter", "Battery", "Battery 0", "PowerDevil"] interval: 0 } Everything else works fine. I'm able to get the battery charge info, whether its plugged in to AC source or not, etc. Cheers, Viranch
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel