android.permission.BATTERY_STATS api
我想要有关 android.permission.BATTERY_STATS 的更多信息。什么可能性授予 android.permission.BATTERY_STATS 权限。如果我可以在不声明此类权限的情况下读取电池电量的 android.intent.action.BATTERY_CHANGED 意图,我就知道如何使用它。
I want more information about android.permission.BATTERY_STATS . what possibilities grants the permission android.permission.BATTERY_STATS. I know how to use it if I can read the android.intent.action.BATTERY_CHANGED intent for the battery levels without declare such permission.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用此代码可以获得电池的使用量、电池电压及其温度。
use this code that will get you the amount of battery used, the battery voltage, and its temperature.