Re: [eman] Power States != Charging States?

Ted Ghose <tghose@juniper.net> Wed, 02 October 2013 13:56 UTC

Return-Path: <tghose@juniper.net>
X-Original-To: eman@ietfa.amsl.com
Delivered-To: eman@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BECE921F9E6C for <eman@ietfa.amsl.com>; Wed, 2 Oct 2013 06:56:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.923
X-Spam-Level:
X-Spam-Status: No, score=0.923 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, PLING_QUERY=1.39, RCVD_IN_DNSWL_LOW=-1, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2v+QAfmX6s4c for <eman@ietfa.amsl.com>; Wed, 2 Oct 2013 06:55:57 -0700 (PDT)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe001.messaging.microsoft.com [216.32.181.181]) by ietfa.amsl.com (Postfix) with ESMTP id 77E9721F8EEA for <eman@ietf.org>; Wed, 2 Oct 2013 06:53:48 -0700 (PDT)
Received: from mail21-ch1-R.bigfish.com (10.43.68.252) by CH1EHSOBE022.bigfish.com (10.43.70.79) with Microsoft SMTP Server id 14.1.225.22; Wed, 2 Oct 2013 13:53:47 +0000
Received: from mail21-ch1 (localhost [127.0.0.1]) by mail21-ch1-R.bigfish.com (Postfix) with ESMTP id B58CB2C00F4; Wed, 2 Oct 2013 13:53:47 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.240.101; KIP:(null); UIP:(null); IPV:NLI; H:BL2PRD0510HT003.namprd05.prod.outlook.com; RD:none; EFVD:NLI
X-SpamScore: -19
X-BigFish: VPS-19(zz98dI9371I542I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1033IL17326ah1de097h186068h8275bh8275dhz2fh2a8h839h944hd25he5bhf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1fe8h1ff5h2052h20b3m1155h)
Received-SPF: pass (mail21-ch1: domain of juniper.net designates 157.56.240.101 as permitted sender) client-ip=157.56.240.101; envelope-from=tghose@juniper.net; helo=BL2PRD0510HT003.namprd05.prod.outlook.com ; .outlook.com ;
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(51704005)(377454003)(24454002)(189002)(199002)(13464003)(79102001)(19580405001)(83322001)(19580395003)(15202345003)(76482001)(53806001)(59766001)(77982001)(50986001)(47976001)(49866001)(47736001)(4396001)(81342001)(51856001)(65816001)(46102001)(80022001)(63696002)(80976001)(74366001)(66066001)(69226001)(33656001)(31966008)(81542001)(74502001)(74662001)(47446002)(83072001)(77096001)(56816003)(81816001)(56776001)(82746002)(54356001)(54316002)(36756003)(76796001)(81686001)(74876001)(74706001)(76786001)(15975445006)(83716002); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR05MB196; H:BL2PR05MB195.namprd05.prod.outlook.com; CLIP:50.156.10.246; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en;
Received: from mail21-ch1 (localhost.localdomain [127.0.0.1]) by mail21-ch1 (MessageSwitch) id 138072202677031_20726; Wed, 2 Oct 2013 13:53:46 +0000 (UTC)
Received: from CH1EHSMHS007.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.239]) by mail21-ch1.bigfish.com (Postfix) with ESMTP id 0CDC74C004A; Wed, 2 Oct 2013 13:53:46 +0000 (UTC)
Received: from BL2PRD0510HT003.namprd05.prod.outlook.com (157.56.240.101) by CH1EHSMHS007.bigfish.com (10.43.70.7) with Microsoft SMTP Server (TLS) id 14.16.227.3; Wed, 2 Oct 2013 13:53:41 +0000
Received: from BL2PR05MB196.namprd05.prod.outlook.com (10.242.198.155) by BL2PRD0510HT003.namprd05.prod.outlook.com (10.255.100.38) with Microsoft SMTP Server (TLS) id 14.16.359.1; Wed, 2 Oct 2013 13:53:41 +0000
Received: from BL2PR05MB195.namprd05.prod.outlook.com (10.242.198.149) by BL2PR05MB196.namprd05.prod.outlook.com (10.242.198.155) with Microsoft SMTP Server (TLS) id 15.0.775.9; Wed, 2 Oct 2013 13:53:40 +0000
Received: from BL2PR05MB195.namprd05.prod.outlook.com ([169.254.6.159]) by BL2PR05MB195.namprd05.prod.outlook.com ([169.254.6.159]) with mapi id 15.00.0775.005; Wed, 2 Oct 2013 13:53:40 +0000
From: Ted Ghose <tghose@juniper.net>
To: Rolf Winter <Rolf.Winter@neclab.eu>
Thread-Topic: [eman] Power States != Charging States?
Thread-Index: AQHOufUYdwSJ6a3Za0Kx55ucEoZo/JneevYAgAGKSoCAAEDaAIAA8s8AgABAxN4=
Date: Wed, 02 Oct 2013 13:53:39 +0000
Message-ID: <4C227BE7-1FAE-4DC4-B5A8-2F0CB0D429F1@juniper.net>
References: <791AD3077F94194BB2BDD13565B6295D55726BC7@DAPHNIS.office.hd> <A9A12518-ABB6-4C51-8C54-AE8ED73F74AD@juniper.net> <5249A238.10500@cisco.com> <F9798C81-37E7-4386-8725-2F79FC20E6D4@bogus.com> <CAK+eDP8qRNGNbhCSFgNtd_J81=-5vM-c2O-CF-qMfzoT0EOzqw@mail.gmail.com>, <791AD3077F94194BB2BDD13565B6295D55727F6E@DAPHNIS.office.hd>
In-Reply-To: <791AD3077F94194BB2BDD13565B6295D55727F6E@DAPHNIS.office.hd>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [50.156.10.246]
x-forefront-prvs: 0987ACA2E2
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%0$Dn%LBL.GOV$RO%1$TLS%0$FQDN%$TlsDn%
Cc: "eman@ietf.org" <eman@ietf.org>
Subject: Re: [eman] Power States != Charging States?
X-BeenThere: eman@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Discussions about the Energy Management Working Group <eman.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/eman>, <mailto:eman-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/eman>
List-Post: <mailto:eman@ietf.org>
List-Help: <mailto:eman-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/eman>, <mailto:eman-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Oct 2013 13:56:08 -0000

We still need to know know the amount of power battery is receiving or giving to the system. 

How are we addressing that? 

I totally agree charging state has nothing to do with it 

-tg-
Sent from my iPhone

> On Oct 2, 2013, at 3:04 AM, "Rolf Winter" <Rolf.Winter@neclab.eu> wrote:
> 
> Hi,
> 
> So it seems there is a general agreement that power and charging states are different. But I am still not sure we need a separate power state. I think I read two different things so far.
> 
> 1) introduce a state that shows if it is charging or discharging and how much 
> 2) introduce state which merely indicates whether the battery can be used (either charged or discharged or not)
> 
> I thought 1 is already covered by the current battery MIB with charging states and the actual measurements of e.g. the actual current etc. The same I guess applied to devices which might have a couple of power states and then actual measurements to quantify energy use.
> 
> I am not sure about 2 since I have a hard time making a connection with the definition of power state that we have:
> 
> A Power State is a condition or mode of a device that
> broadly characterizes its capabilities, power
> consumption, and responsiveness to input. 
> 
> It is more like "availability for use" rather than an actual power state. That however is currently not covered by the MIB and we can think about whether we should introduce this.
> 
> Best,
> 
> Rolf
> 
> 
> 
> NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, London, HA4 6QE, GB | Registered in England 2832014
> 
> 
>> -----Original Message-----
>> From: eman-bounces@ietf.org [mailto:eman-bounces@ietf.org] On Behalf Of
>> Bruce Nordman
>> Sent: Dienstag, 1. Oktober 2013 21:33
>> To: joel jaeggli
>> Cc: Ted Ghose; eman@ietf.org
>> Subject: Re: [eman] Power States != Charging States?
>> 
>> I agree with Rolf that the battery charging state is a different
>> concept from power state.
>> 
>> 
>> The current charging state entries in the battery MIB document are:
>> 
>> unknown, charging, fastCharging, maintainingCharge, noCharging, and
>> discharging.
>> 
>> It seems plausible to me that over time storage technologies will
>> evolve so that
>> 
>> more entries in this list will be desired.  The power state registry
>> could then be used as a place to put such additional charging state
>> sets, in which case it should be stated to cover both power and
>> charging states.  Or, a second registry just for
>> 
>> battery states could be created.  Or, states could be added by updating
>> the battery MIB.
>> 
>> 
>> Note that a battery can have data only as listed in the battery MIB, it
>> can only have component data as an energy object, or both.  For the
>> energy object aspect of batteries, there is a field for the battery
>> component for power state.  This could be left empty, or used.  It
>> occurs to me that a battery could be available/in-use, which I would
>> consider to be On, or not electrically available (for charging or
>> discharging), which I would consider to be Off (perhaps for being
>> physically removed, or simply selected to be not available for use).
>> IEEE 1621 covers this.
>> 
>> 
>> Finally, I thought that the battery MIB draft had indications for
>> battery failure.  This seems like something that could be reported on
>> in either the charging state or
>> 
>> power state context.
>> 
>> --Bruce
>> 
>> 
>> 
>> On Tue, Oct 1, 2013 at 8:40 AM, joel jaeggli <joelja@bogus.com> wrote:
>> 
>> 
>> 
>>    On Sep 30, 2013, at 9:09 AM, Benoit Claise <bclaise@cisco.com>
>> wrote:
>> 
>>    > Hi Ted,
>>    >> Hi Rolf
>>    >>
>>    >> +1
>>    >>
>>    >> Thanks for clearly articulating the points. I totally agree
>> the charging state should be orthogonal to power state.
>>    >>
>>    >> My position is that battery should _also_ have power state
>> indicating if it is receiving power (charging) or giving power to the
>> electrical network, and how much
>>    > That makes sense.
>>    >
>>    > Regards, Benoit
>> 
>> 
>>    In my limited experience with battery controllers batteries are
>> either:
>> 
>>    charging
>>    discharging
>>    full
>>    empty
>> 
>>    in all cases  state of charge, e.g. capacity is germain.
>> 
>> 
>>    >>
>>    >> This will be useful to account for all the power source and
>> sink
>>    >>
>>    >> Best
>>    >>
>>    >> -tg-
>>    >> Sent from my iPhone
>>    >>
>>    >>> On Sep 25, 2013, at 6:18 AM, Rolf Winter
>> <Rolf.Winter@neclab.eu> wrote:
>>    >>>
>>    >>> Hi,
>>    >>>
>>    >>> this thread attempts to close an open issue in the framework
>> document (v10) where section 9.1.4 reads:
>>    >>>
>>    >>> 9.1.4. Batteries Power State Set
>>    >>>
>>    >>>        Batteries have operational and administrational states
>> that
>>    >>>        could be represented as a power state set. Since the
>> work
>>    >>>        for battery management is parallel to this document,
>> we are
>>    >>>        not proposing any Power State Sets for batteries at
>> this
>>    >>>        time.
>>    >>>
>>    >>> I argue that batteries have no power states given the power
>> state definition:
>>    >>>
>>    >>>        A Power State is a condition or mode of a device that
>>    >>>        broadly characterizes its capabilities, power
>>    >>>        consumption, and responsiveness to input.
>>    >>>
>>    >>> There are charging states currently defined in the battery
>> MIB, which seem to be orthogonal to power states. I guess a universal
>> power state set is "on" and "off". Any device can really be in one of
>> these two modes. Even a simple light bulb. What would be "on" for a
>> battery? Maybe charging because it receives energy (like any other
>> device that is actually "on")? But every device that is on, fulfills
>> its primary function. I would argue that the primary function of a
>> battery is to provide energy. Batteries are different and I maybe we
>> should ack this fact and not try to create battery power state sets
>> just because we have this for devices.
>>    >>>
>>    >>> I think the Email thread http://www.ietf.org/mail-
>> archive/web/eman/current/msg02000.html seemed to agree that charging
>> states and power states are orthogonal. If they are, why should they be
>> of the same class? The problem is that the power state above as used
>> for devices would suggest that if a device is off, it does not consume
>> any energy. But if the battery is charging, then it does (given that
>> the battery is modeled as part of the device). So if a power state is
>> indeed conflating power consumption and capabilities, then a device
>> would be in two different power states at the same time. But it is not.
>> It is in one power state and the batteries in it are in a certain
>> charging state and each of these can be freely combined. I.e.
>> charging/on, discharging/on, charging/off etc... I guess the main
>> question is, what is the advantage of defining a charging state as a
>> power state (the set of charging states as a power state set)?
>>    >>>
>>    >>>
>>    >>> Best,
>>    >>>
>>    >>> Rolf
>>    >>>
>>    >>> NEC Europe Ltd | Registered Office: Athene, Odyssey Business
>> Park, West End  Road, London, HA4 6QE, GB | Registered in England
>> 2832014
>>    >>>
>>    >>>
>>    >>> _______________________________________________
>>    >>> eman mailing list
>>    >>> eman@ietf.org
>>    >>> https://www.ietf.org/mailman/listinfo/eman
>>    >> _______________________________________________
>>    >> eman mailing list
>>    >> eman@ietf.org
>>    >> https://www.ietf.org/mailman/listinfo/eman
>>    >> .
>>    >>
>>    >
>>    >
>>    > _______________________________________________
>>    > eman mailing list
>>    > eman@ietf.org
>>    > https://www.ietf.org/mailman/listinfo/eman
>>    >
>> 
>> 
>> 
>>    _______________________________________________
>>    eman mailing list
>>    eman@ietf.org
>>    https://www.ietf.org/mailman/listinfo/eman
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> Bruce Nordman
>> Lawrence Berkeley National Laboratory
>> nordman.lbl.gov
>> BNordman@LBL.gov
>> 510-486-7089
>> m: 510-501-7943
> 
> 
>