[TIMOB-403] Batter State problems on Platform API
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:52:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 0.9.2 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Jeff Haynie |
Created | 2011-04-15T02:28:45.000+0000 |
Updated | 2011-04-17T01:52:56.000+0000 |
Description
Battery state event does not seem to fire and the battery level is always -1.
Platform = Platform Data (platform.js)
i've improved upon this.
note, to test the battery state change events, you'll have to test a little differently. the battery state/level on changes at 5% increments. i was able to trigger by doing this...
open up the platform tab and the platform test and leave that screen open. go to the remote video test and let it play for a little bit (you may have to play a couple of times). this should drain the battery. you should eventually see an alert with notification of battery change.