From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [bug?] Battery notifications produce flashing battery icon, syslog spam (Re: [PATCH 11/11] ACPI / Battery: Update information on info notification and resume) Date: Thu, 3 May 2012 13:47:08 +0100 Message-ID: <20120503124708.GA18622@srcf.ucam.org> References: <201101062331.17079.rjw@sisk.pl> <201101062342.28168.rjw@sisk.pl> <20120501184534.GA31731@burratino> <4FA032EA.1090608@gmail.com> <20120501191408.GD19143@burratino> <20120503085458.GG3364@shadowen.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20120503085458.GG3364@shadowen.org> Sender: linux-acpi-owner@vger.kernel.org To: Andy Whitcroft Cc: Jonathan Nieder , Adrian Fita , "Rafael J. Wysocki" , Len Brown , LKML , ACPI Devel Maling List , Linux-pm mailing list , Ralf Jung , Paolo Scarabelli List-Id: linux-pm@vger.kernel.org On Thu, May 03, 2012 at 09:54:58AM +0100, Andy Whitcroft wrote: > > From the description of the change this is necessary because the > capacity units may change over time? Can we not use those to avoid this > update? I presume it is these two we are referring to? > > int capacity_granularity_1; > int capacity_granularity_2; power_unit rather than capacity_granularity, but the idea seems solid. -- Matthew Garrett | mjg59@srcf.ucam.org