[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dbus and power management



On 20.11.2012 14:59, Michael P. Soulier wrote:
> Hi,
> 
> I had an old python script for monitoring my laptop lid with dbus, and then
> suspending when it was closed. It doesn't work now because the dbus namespace
> on debian seems to have changed.
> 
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The
> name org.freedesktop.DeviceKit.Power was not provided by any .service files
> 
> Does anyone know what I should be using now? I can't seem to find what I need
> in the new layout.

org.freedesktop.UPower provided by upower

http://upower.freedesktop.org/
http://upower.freedesktop.org/docs/


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: