[
https://issues.apache.org/jira/browse/CB-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jesse MacFadyen reassigned CB-4540:
-----------------------------------
Assignee: Jesse MacFadyen (was: Filip Maj)
> Improved battery test
> ---------------------
>
> Key: CB-4540
> URL: https://issues.apache.org/jira/browse/CB-4540
> Project: Apache Cordova
> Issue Type: Test
> Components: mobile-spec
> Affects Versions: 2.9.0
> Reporter: Peter
> Assignee: Jesse MacFadyen
> Priority: Minor
> Attachments: index.html
>
>
> We have been doing some battery tests recently and I found it necessary to
> re-write the mobile-spec battery test to see better exactly what was
> happening.
> The current mobile-spec battery test was difficult to use for a number of
> reasons, including:
> * No indication which listeners are active made it hard to know what to expect
> * No if/else in updateInfo function, so "crit" and "low" values were
> sometimes not updated
> * No way to clear the displayed info so not always sure when it was updating
> I would like to donate my updated test code (attached)
--
This message was sent by Atlassian JIRA
(v6.2#6252)