>* It removes the ability to disable the battery listener short of
>removing it from the plugins list.

Yeah the spec is incomplete with respect to that. If we do implement it it
makes sense to tweak it to incorporate add/remove EventListener funtions.

>* The old battery spec sends events with level and isPlugged. The new
>battery spec keeps a set of properties at navigator.battery including
>level, charging, chargingTime and dischargingTime. level == level and
>isPlugged == charging.
>* For the two new properties chargingTime and dischargingTime there is
>no API on Android, BB, iOS or WP7 to determine those values. So, we'd
>have to estimate these values.
>
>It is my opinion that we do not make any changes to the current
>battery code in PhoneGap and we wait until the spec finalizes. The
>battery spec has been through many changes and it is possible that it
>may radically change once again.

+1

Reply via email to