[Bug 29914] Add idleness connection interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 2 18:46:02 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29914

--- Comment #2 from Eitan Isaacson <eitan.isaacson at collabora.co.uk> 2010-09-02 09:46:02 PDT ---
Some open questions:

1. Is a setter, property and notification change too much? After all, the
property won't change without explicitly changing it.

2. Maybe device inactivity is too low level, and MC should be dealing with
that. Maybe this interface should speak purely in power saving terms. In this
way, the Connection objects state talks in terms of the actual connection, and
not in terms of device idleness. For example:

method: SetPowerSaving(b:on)
property: PowerSavingActivated:b
signal: PowerSavingChanged

This would also make possible exceptions in SetPowerSaving clearer. Example
NotImplemented for XMPP servers that don't support "google:queue". In the first
draft, when setting device inactivity on, NotImplemented would not be as clear.

3. If we are talking about an interface like in 2, is on/off enough, or do we
need finer granularity like "medium" power saving?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list