Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp324819ybk; Wed, 13 May 2020 00:53:37 -0700 (PDT) X-Google-Smtp-Source: APiQypJhe9P62puM2pZsOjbFGf+S6oKfGNpL425xreJtK1kr3hLcAlchh9nKr07AKQ/TaOos/Fhi X-Received: by 2002:a17:906:1659:: with SMTP id n25mr21881521ejd.122.1589356417463; Wed, 13 May 2020 00:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589356417; cv=none; d=google.com; s=arc-20160816; b=j5ExSYlPhXhz2+Fqredzv2zT/YTa+fx/3GQM9lR21M6ZOC2mC4G3p/0a6FlonfsIUK QxnP7G4vstt+y2Xy47h9bx7OIJzTWLgWQboSJFagpZYuVWlURd1DJ30+2j45ogYdU942 owwQlDxhkD++okYIfyQE1MsWYNppJMc2Ka4jcqtCHokRvKJLcyYDDQw6YW6GfMQziYI2 wJdyHoglNh4jYRnb/LZv3j2tgPJ1mztc/KwS0bttRQKzissAJecVKdU/rIIMurxHJcTw MXNTjY2pmHvAjo4gOWTfBvQTkzNnQ2OeSk7COfQlSJVY/xwJ+OhX2jKnFEsqXL078rmf 7yrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=dHczR1dz3YmxckRYXoCd0hpj9uWJOj1IuGfD80nvJ6A=; b=HcGUckxSuF8PazD4VIdZVZ693hZStc4h8rsgAX5+CMEEsG+KEJOridY4s4u6ebioQa jDOd9tg3h2S0PL9voW724PaDZgNr1o5KuUm0njuv/HlqneYCdjjMthK01e6qxo9/a3sJ IM9XMWPZXaEF/kNMjSKh2N6I4fY3/bA8iOe2lrH3c/Net1UgNquOUQ/WXhXFzyhA9uSp /UC9miA8n3+h8jl+Y67PtIOXlvbk8pLj7qHfnuaDND17SLLOD5yp3d3ixag4V59kCSID GJMD2pLTNsTvE44ant7XMMcMVknB5/pp8ERKPsP0Hl1HxmJsghgW2syrMjJUWh62A5Up lPzg== 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 v5si8964040eji.392.2020.05.13.00.53.13; Wed, 13 May 2020 00:53:37 -0700 (PDT) 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 S1728101AbgEMHuw convert rfc822-to-8bit (ORCPT + 99 others); Wed, 13 May 2020 03:50:52 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:47985 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgEMHuw (ORCPT ); Wed, 13 May 2020 03:50:52 -0400 Received: from [192.168.1.91] (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id E9777CED09; Wed, 13 May 2020 10:00:33 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] build: Add option to disable battery profile From: Marcel Holtmann In-Reply-To: Date: Wed, 13 May 2020 09:50:21 +0200 Cc: Bastien Nocera , Sonny Sasaka , "linux-bluetooth@vger.kernel.org" Content-Transfer-Encoding: 8BIT Message-Id: <6D33545F-B977-4A46-B1CC-A8DBA391CA65@holtmann.org> References: <20200501215352.23858-1-sonnysasaka@chromium.org> <4A9E7F0B-4AB8-4330-BB2B-1A0EAA4EFDE8@holtmann.org> To: Luiz Augusto von Dentz X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, >>> On Wed, 2020-05-06 at 13:24 +0200, Marcel Holtmann wrote: >>>> I have a little bit concern splitting this since battery service and >>>> HoG are kinda connected. Wouldn’t it be better we have a cleaner >>>> interface. Maybe we should actually integrate cleanly with >>>> /dev/upower or similar. >>> >>> Wat? >> >> I guess Marcel was refering to something like uhid though Im not sure >> that exists, or does it? That said one alternative would make uhid >> integrate the battery status, but I guess devices can also expose this >> over hid directly so I wonder if we can translate the Battery Service >> status to hid power strength that way we don't need any communication >> over D-Bus. > > Btw, Im fine with the option to disable building the battery plugin > since platforms may not have a use for it, so except if there are some > strong reason against it I will apply the patch. lets wait and see if we can actually generalize this feature. Regards Marcel