Android:每个应用程序的电池使用情况

标签 android sdk power-management

有没有办法在 API、adb shell 中获取每秒每个应用程序的电池使用信息,...?

最佳答案

除了“设置”中的电池使用情况屏幕外,没有 API 或命令行方式来获取此信息。

关于Android:每个应用程序的电池使用情况,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5149121/

相关文章:

android - 找不到 Mockito 和 JUnit

android - 如何在我的应用程序中添加更多权限/事件?

ios - 减少 iOS 后台位置电池使用

windows - 如何以编程方式启用 "Allow this device to wake the computer"?

android - 如何在代码中获取电池的容量

android - Android App中使用Google Gdata Spreadsheet 3.0 API的Google账号认证

android - extractThumbnail 生成未知位图配置错误

java - 如何使用集合引用更新 firestore 中的文档?

android - 使用通知 channel 创建通知无效

android - 如何在 Eclipse 中安装 Android 4.0 (API 14)?