Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6065 alignment with W3C Battery API
  3. CB-7587

Cordova W3C Battery Alignment - dischargingTime property

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ldeluca Lisa Seacat DeLuca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: