Closed GoogleCodeExporter closed 9 years ago
Update. I have 2 scripts. In the first one (droid_batteryGetLevel.bsh)
batteryGetLevel works always as expected. In the second script
(droid_speakBatteryLevel.bsh) batteryGetLevel returns always -1.
...and sorry, in the Issue I wrote "getBatteryLevel" instead of
batteryGetLevel...
Original comment by andrea.i...@gmail.com
on 19 Aug 2010 at 12:01
Attachments:
Original comment by Alexey.R...@gmail.com
on 19 Aug 2010 at 12:21
We've changed the API to reflect the asynchronous aspect of these calls. You'll
now need to start by calling batteryStartMonitoring(). You can wait for the
first battery update by calling waitForEvent("battery");
Original comment by damonkoh...@gmail.com
on 22 Aug 2010 at 10:55
Original issue reported on code.google.com by
andrea.i...@gmail.com
on 18 Aug 2010 at 7:08