From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933635Ab3BSSeG (ORCPT ); Tue, 19 Feb 2013 13:34:06 -0500 Received: from mga09.intel.com ([134.134.136.24]:57721 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932825Ab3BSSeE (ORCPT ); Tue, 19 Feb 2013 13:34:04 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,696,1355126400"; d="scan'208";a="264671245" Date: Tue, 19 Feb 2013 20:38:16 +0200 From: "Westerberg, Mika" To: "Pallala, Ramakrishna" Cc: "linux-kernel@vger.kernel.org" , "Zhang, Rui" Subject: Re: How to populate Battery information through ACPI tables Message-ID: <20130219183816.GK2439@intel.com> References: <20130219152008.GG2439@intel.com> <20130219174210.GH2439@intel.com> <20130219180400.GJ2439@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 19, 2013 at 08:22:01PM +0200, Pallala, Ramakrishna wrote: > Mika, I want to populate this characterization data as device > specific/custom data which could be anything And may not be entirely > related to battery. Is this is possible? Yes, for example you could have a custom ACPI method with your device which then returns this information. See for example chapter 10.2.2.1 from the ACPI spec. It describes _BIF method that returns some battery data to the caller.