Hi,

I'm trying to configure my application so that it can call the
"Refresh" method defined in org.freedesktop.UPower.Device and I'm
getting a "Rejected send message" back.

I tried adding the following in
/usr/share/polkit-1/actions/org.freedesktop.upower.policy:

 <action id="org.freedesktop.upower.refresh">
    <description>Refresh the power source</description>
    <message>Authentication is required to refresh</message>
    <defaults>
      <allow_any>yes</allow_any>

    </defaults>
  </action>

but still no luck...

I'm able to do stuff like mounting and unmouting drives (they require
authentication too) but not refreshing the power source.

Regards,

Marc
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to