开发者

How to test the low power condition on Android

I wondered if anyone had any ideas about how to simulate low power conditions on And开发者_如何转开发roid (ie the pop-up notification that occurs) on the G1, say.

The adb am command lets you broadcast intents but, I think, maybe not system ones. Anyway,

$ am broadcast -a android.intent.action.BATTERY_LOW

Broadcasting: Intent { act=android.intent.action.BATTERY_LOW }

doesn't help.

Any ideas? Do the performance test cases help?

Thanks in advance.... Ewan


Device Power in the Android Emulator lets you set the remaining charge.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜