Do

Comment 1 for bug 387585

Revision history for this message
Jason Smith (jassmith) wrote : Re: [Bug 387585] [NEW] Update Do.Platform.Linux for DeviceKit-Power

We'll have to support both I guess... annoying...

On Tue, 2009-06-16 at 00:36 +0000, Chris Halse Rogers wrote:
> Public bug reported:
>
> Do.Platform.Linux needs to be updated for the transition to DeviceKit
> (in, among other places, Karmic).
>
> In Karmic, org.freedesktop.PowerManager no longer has an OnBattery property; this is now in org.freedesktop.DeviceKit.Power on the system bus. As such, Do in Karmic spends a lot of time spewing
> """
> [Debug 10:33:46.685] [SystemService] at IPowerManagementProxy.GetOnBattery () [0x00000]
> at Do.Platform.Linux.SystemService.GetOnBatteryPower () [0x00000]
> [Error 10:33:46.685] [SystemService] Could not GetOnBattery: org.freedesktop.DBus.Error.UnknownMethod: Method "GetOnBattery" with signature "" on interface "org.freedesktop.PowerManagement" doesn't exist
> """
> into the terminal.
>
> ** Affects: do
> Importance: Undecided
> Status: New
>