Update Do.Platform.Linux for DeviceKit-Power

Reported by Chris Halse Rogers on 2009-06-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
Medium
Chris Halse Rogers

Bug Description

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.

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
>

Changed in do:
assignee: nobody → Chris Halse Rogers (raof)
importance: Undecided → Medium
milestone: none → 0.8.2
status: New → Confirmed
Changed in do:
status: Confirmed → In Progress
Alex Launi (alexlauni) on 2009-06-25
Changed in do:
status: In Progress → Fix Committed
Changed in do:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers