Re: Metered connections



On Thu, 2015-04-30 at 16:37 +0200, Beniamino Galvani wrote:
Hi,

we have an open BZ item requesting a way to report information about
metered connections:

  https://bugzilla.gnome.org/show_bug.cgi?id=741725

I was thinking to a possible way to implement this starting from
Thomas' comments on BZ and my current idea is:

 - each connection would have a 'metered' string property with
   possible values 'yes', 'no', 'unknown' (or 'auto'?)

 - each device would also have a 'metered' string property with
   possible values:
   * yes/no: set if the value for the connection is yes/no
   * unknown: set if the device is not connected
   * guess-yes/guess-no: set when the value for the connection is
     'unknown'; the actual value is based on some heuristics


Maybe not "string" properties, but enums? Not sure about that...

Otherwise, sounds good to me.


Thomas

Attachment: signature.asc
Description: This is a digitally signed message part



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