[Bug 29914] Add idleness connection interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 8 16:18:25 CEST 2010


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

--- Comment #8 from Will Thompson <will.thompson at collabora.co.uk> 2010-09-08 07:18:24 PDT ---
(In reply to comment #6)
> > > > +        <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable">
> > > > +          <tp:docstring>
> > > > +            The current connection has no power saving features.
> > > 
> > > I don't think this is useful. I think SetPowerSaving(TRUE) should mean "consume
> > > minimum power" and FALSE should mean "behave normally"; on an XMPP connection
> > > that lacks power-saving extensions like GTalk's, minimum power and behaving
> > > normally are the same thing :-)
> > 
> > If the CM cannot switch modes, either because of the protocol (NotImplemented),
> > or because of the service (NotAvailable), I think MC (or whoever manages this)
> > should be made aware. They could ignore it or, in the extreme, be fascist and
> > disconnect the account.
> 
> Your reasoning is persuasive; if you turn it into a <tp:rationale> and add a
> note like this one, I think this behaviour would make sense:
> 
>     Errors raised by this method indicate that power saving could not be
>     enabled, which SHOULD NOT generally be treated as fatal.

If the connection doesn't support power saving, this interface should not be
listed in
<http://telepathy.freedesktop.org/spec-snapshot/Connection.html#org.freedesktop.Telepathy.Connection.Interfaces>
in the first place, so MC shouldn't be calling this method. :)

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



More information about the telepathy-bugs mailing list