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
If the user agent is UNABLE TO REPORT THE BATTERY STATUS (i.e. platform doesn’t support battery information), then the values MUST be set to default values:
charging = true
chargingTime = 0
dischargingTime = positive infinity
level = 1.0