Reputation: 1304
I am nearly finished with my app and last functionality to be made is to call specific action when battery level reaches below specific level.
So for test purposes I am wondering - how can I drain battery?
P.S - Using AVD wont work since my app is using Google Play services so I am testing app on my phone.
Upvotes: 5
Views: 46245
Reputation: 5867
For fastest drain turn on at once all battery drainers:
And, since you're a smart guy, you will probably use this app instead of hand-coding all of the above.
Upvotes: 12
Reputation: 181
There is an AVD target that contains Play Services (Google APIs target).
Edit: you should also be able to use Genymotion from what I've read. It's also much faster than the stock emulator, but if your app uses any native code it may not work.
Upvotes: 2