开发者

how can i know the phone‘s electricity consumption

all.i want to know the phone‘s electricity cost in my apps.but the Ba开发者_开发百科tteryManager can't give the information.how can i get this?


This information is not available via the Android SDK, sorry.


The only way to really know is to hook up a power meter to your hardware to measure the current draw while your app is running. The battery stats in the UI computed from an approximation over time based on the types of things the application is doing.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜