From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751270AbdFATfq (ORCPT ); Thu, 1 Jun 2017 15:35:46 -0400 Received: from slow1-d.mail.gandi.net ([217.70.178.86]:53863 "EHLO slow1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751097AbdFATfo (ORCPT ); Thu, 1 Jun 2017 15:35:44 -0400 X-Originating-IP: 83.155.44.161 Message-ID: <1496345185.2570.3.camel@hadess.net> Subject: Re: [PATCH v3 00/19] Report power supply from hid-logitech-hidpp From: Bastien Nocera To: Dave Hansen , Benjamin Tissoires , Jiri Kosina Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 01 Jun 2017 21:26:25 +0200 In-Reply-To: <0cdc8dda-de3f-c3d0-07da-65612860a70f@intel.com> References: <20170327145939.29824-1-benjamin.tissoires@redhat.com> <0cdc8dda-de3f-c3d0-07da-65612860a70f@intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 (3.24.2-1.fc26) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2017-06-01 at 11:06 -0700, Dave Hansen wrote: > On 03/27/2017 07:59 AM, Benjamin Tissoires wrote: > > this is finally a rework of the series that provides kernel > > power_supply > > for hidpp devices. > > > > This will allow upower to not handle those devices anymore and to > > have more > > immediate reportng of the device to the system. > > FWIW, I'm on Ubuntu 14.04, and upower *is* reporting my mouse battery > as > if it were a laptop battery. It's mostly garbage, and always reports > 0%, which makes upower always tell me my laptop is 2/3 charged (I > have 2 > real batteries). > > Is this expected? You need to either disable the feature for the kernel, or upgrade to the latest git master of UPower. Mixing both won't work. Use the devkit mailing-list if you need a release of UPower. Cheers