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

Cordova W3C Battery Alignment - navigator.getBattery implementation

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

      Battery information should be accessible from navigator.getBattery(). Calling navigator.getBattery should return a BatteryManager object. The W3C battery status specification uses promises.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ldeluca Lisa Seacat DeLuca

            Dates

              Created:
              Updated:

              Slack

                Issue deployment