Do

Update Do.Platform.Linux for DeviceKit-Power

Bug #387585 reported by Chris Halse Rogers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
Fix Released
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.

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
>

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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.