[TIMOB-403] Batter State problems on Platform API
Battery state event does not seem to fire and the battery level is always -1.
Platform = Platform Data (platform.js)
- Jeff Haynie 2011-04-15
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.