You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lisa Seacat DeLuca (JIRA)" <ji...@apache.org> on 2014/09/18 18:47:33 UTC

[jira] [Updated] (CB-7587) Cordova W3C Battery Alignment - dischargingTime event

     [ https://issues.apache.org/jira/browse/CB-7587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lisa Seacat DeLuca updated CB-7587:
-----------------------------------
    Description: 
JIRA parent issue: https://issues.apache.org/jira/browse/CB-6065 
Cordova documentation: https://github.com/apache/cordova-plugin-battery-status/blob/master/doc/index.md 
w3c spec: http://www.w3.org/TR/battery-status 

Gap analysis document can be found here: https://docs.google.com/document/d/1mAcjwf39IcIqpIuS-7SzlDxTgk4OebCHae6yfOwnStE/edit?usp=sharing

The BatteryManager object should have a readonly property called dischargingTime.  The dischargingTime attribute must be set to the value positive Infinity, if the battery is charging, the implementation is unable to report the remaining discharging time, there is no battery attached to the system, or otherwise. 
Multiple Batteries. dischargingTime. The dischargingTime attribute can be set to the maximum discharging time of the individual batteries if discharging in parallel, and to the sum of individual discharging times if discharging serial


  was:
JIRA parent issue: https://issues.apache.org/jira/browse/CB-6065 
Cordova documentation: https://github.com/apache/cordova-plugin-battery-status/blob/master/doc/index.md 
w3c spec: http://www.w3.org/TR/battery-status 

Gap analysis document can be found here: https://docs.google.com/document/d/1mAcjwf39IcIqpIuS-7SzlDxTgk4OebCHae6yfOwnStE/edit?usp=sharing

chargingtimechange event. When the battery charging time is updated, the user agent mustqueue a task which sets the chargingTime attribute's value and fires a simple event named chargingtimechange at the BatteryManager object.
event handler: onchargingtimechange




> Cordova W3C Battery Alignment - dischargingTime event
> -----------------------------------------------------
>
>                 Key: CB-7587
>                 URL: https://issues.apache.org/jira/browse/CB-7587
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin Battery Status
>            Reporter: Lisa Seacat DeLuca
>
> JIRA parent issue: https://issues.apache.org/jira/browse/CB-6065 
> Cordova documentation: https://github.com/apache/cordova-plugin-battery-status/blob/master/doc/index.md 
> w3c spec: http://www.w3.org/TR/battery-status 
> Gap analysis document can be found here: https://docs.google.com/document/d/1mAcjwf39IcIqpIuS-7SzlDxTgk4OebCHae6yfOwnStE/edit?usp=sharing
> The BatteryManager object should have a readonly property called dischargingTime.  The dischargingTime attribute must be set to the value positive Infinity, if the battery is charging, the implementation is unable to report the remaining discharging time, there is no battery attached to the system, or otherwise. 
> Multiple Batteries. dischargingTime. The dischargingTime attribute can be set to the maximum discharging time of the individual batteries if discharging in parallel, and to the sum of individual discharging times if discharging serial



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)