Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1305648pxu; Fri, 27 Nov 2020 04:36:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYP2paCf5iMR5HP1W+q5T0BkAGM1Jg+JoyHRR/n3N+HGRV8Mv5zpDzc8nMxwjV4FPRR0gD X-Received: by 2002:a50:f98b:: with SMTP id q11mr7515430edn.345.1606480591762; Fri, 27 Nov 2020 04:36:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606480591; cv=none; d=google.com; s=arc-20160816; b=VF7KpI/AKPaIh/q4Aiwwnk9wa6h92po91WePHHJkdNiqqwx/up0Nxr30YtZUgySJIC sBvM1ptZweABG66+3K5qeJQgHpaw+qNvclxrpcTo7GvtDmuQrNO847C++2ShcTvHoY9C vDKwSnFW7VGa29TT8iT9Snzwd8P34FSbj8EjSDgC3T1dle1jXKvD+PrWYWAahMWS0qJT ZMUCqiJGf0CIBQMfJOb8prmgLNhmmTF8r3TU1kUzsArroljR6hlRoX9q+oEV//2QYq9o iEUwu5f1yGNQ3txiKHOaaE6A8r/0TnXvBfowdye3tkpiiiEyKemgvcduj9gRBeqNJcgt PMaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=S+MN4UjURf1ynxia4RipRJHfoChwzYJu4oXTpqJJiRg=; b=M0sveB2wNrrYbSk6HfsVLxSa1uLsIKDyaMVSgAlHuqH5Kakf4ksSA0IYTbj9HMwaNT 4itJnYR7Tf6ZytWU5v7IY8+qkV9Z8TtVw0Jf34ZJkBdFxp/ExqfuIrYyRsDPzdPRc0hX ifOvf1gKqJxz9uYMvMDJFnTV4EXYHIeEAFclLWYRaTM29R9zqvFIL3zapOFU2cXD1QKq /RZwExJvaPNF4j4f6NdJpjoBD/1FF+2hRpeJKEJdDsvbBP9KpWUChxWKgVvDtlsU53PT d3S25pT+imKU6RLVUiLxg2912ASYUV5Ah2tU0y7T0dyS2PnG7Ad8Rt3LXphJ+ZR8RHWK Y4aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si2244088ejg.81.2020.11.27.04.36.08; Fri, 27 Nov 2020 04:36:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728698AbgK0MfH (ORCPT + 99 others); Fri, 27 Nov 2020 07:35:07 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:32869 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727455AbgK0MfH (ORCPT ); Fri, 27 Nov 2020 07:35:07 -0500 X-Originating-IP: 82.255.60.242 Received: from [192.168.0.28] (lns-bzn-39-82-255-60-242.adsl.proxad.net [82.255.60.242]) (Authenticated sender: hadess@hadess.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 43B4560005; Fri, 27 Nov 2020 12:35:04 +0000 (UTC) Message-ID: <29c9a9a64209ce2c05617d0843f40e3b970b525a.camel@hadess.net> Subject: Re: [PATCH BlueZ v3 4/7] doc: Add Battery Provider API doc From: Bastien Nocera To: Sonny Sasaka , Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" , Miao-chen Chou Date: Fri, 27 Nov 2020 13:35:04 +0100 In-Reply-To: References: <20201120205728.339325-1-sonnysasaka@chromium.org> <20201120205728.339325-4-sonnysasaka@chromium.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Tue, 2020-11-24 at 17:20 -0800, Sonny Sasaka wrote: > > If we move BatteryProviderManager1 to the device object, that means > we > can't use the object manager style and providers have to register > each > battery once rather than registering once in the beginning and expose > several objects afterwards, so this would lose your suggestion to use > object manager in the first place. I prefer we stick to using object > manager style, it is simple, easy to understand and implement for > providers (refer to my python test app in one of the patches in this > series). org.freedesktop.DBus.ObjectManager.InterfacesAdded would show the interface appearing. It's also what UPower expects bluez to do.