开发者

How to test the low power condition on Android

开发者 https://www.devze.com 2022-12-21 09:16 出处:网络
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.

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

精彩评论

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