{ "id": "61035", "key": "TIMOB-403", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11204", "name": "0.9.2", "archived": true, "released": true, "releaseDate": "2010-02-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:52:56.000+0000", "created": "2011-04-15T02:28:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:52:56.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

Battery state event does not seem to fire and the battery level\nis always -1.

\n

Platform = Platform Data (platform.js)

{html}", "attachment": [], "flagged": false, "summary": "Batter State problems on Platform API", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123242", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

i've improved upon this.

\n

note, to test the battery state change events, you'll have to\ntest a little differently. the battery state/level on changes at 5%\nincrements. i was able to trigger by doing this...

\n

open up the platform tab and the platform test and leave that\nscreen open. go to the remote video test and let it play for a\nlittle bit (you may have to play a couple of times). this should\ndrain the battery. you should eventually see an alert with\nnotification of battery change.

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:28:46.000+0000", "updated": "2011-04-15T02:28:46.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }