With BetterBatteryStats, you can analyze your phone’s behavior, find applications that are draining your phone’s battery while it should be idle, and measure the effect of corrective actions:
– Spot drains based on detailed root cause information
– measure the effect of drainage reduction actions, following a simple method
– detect changes in wake/sleep profile and quickly find the causes (rogue apps)
In other words BetterBatteryStats helps you to get the best experience with your smartphone.
Devices without root
BetterBatteryStats supports unrooted devices but there are some manual steps to complete (on rooted devices the steps will be completed by the app).
Run the following commands from the computer where ADB was installed:
adb -d shell pm grant com.asksven.betterbatterystats android.permission.BATTERY_STATS
adb -d shell pm grant com.asksven.betterbatterystats android.permission.DUMP
On Lolipop and forward also run:
adb -d shell pm grant com.asksven.betterbatterystats android.permission.PACKAGE_USAGE_STATS
Please check the website for more information.
Support:
Please do not use the rating system for support. If you have any problems or have any questions or suggestions, please contact me by email or use the contact information from the information box.
If you’re having issues with your superuser app keeping asking to grant rights to, don’t blame BetterBatterStats but try another superuser app instead.
Permissions:
– android.permission.WRITE_EXTERNAL_STORAGE is only used to write dumps to the SD. In case you don’t need that feature, feel free to revoke that permission. It won’t have any side effects other than disabling that feature
– android.permission.BATTERY_STATS is obviously the permission to access internal stats and cannot be revoked without making the app unusable (since Kitkat on BBS it will need to be installed as a system app to access this permission)
– android.permission.DUMP from Kitkat on BBS can be installed as a system app to access this permission. You need to access dumpsys without root for better performance
– android.permission.ACCESS_WIFI_STATE is required by Android Marshmallow to access statistics. In versions prior to 6.0 this permission can be revoked
– android.permission.ACCESS_NETWORK_STATE This permission can be revoked
– android.permission.RECEIVE_BOOT_COMPLETED is required for cleanup of references. Revoking this permission may affect the results of kernel wakelocks and custom references until new references are saved
– android.permission.READ_PHONE_STATE is needed to detect when the phone was turned on/off to store references for advanced diagnosis
– android.permission.DEVICE_POWER is needed to detect when the phone is disconnected from the charger and store the corresponding kernel wakelock reference. Revoking this permission will result in the loss of “since logged out”
– android.permission.BLUETOOTH is needed to fix a bug where communication with the batteryinfo service stops working
– android.permission.READ_LOGS is required to allow logcat dumps to be saved. You can revoke this right and you will only lose the ability to save logcats
– android.permission.GET_TASKS is needed to read running task list (ps)
– android.permission.WAKE_LOCK is needed to maintain a wakelock to save references when the screen goes off
BetterBatteryStats is open source so you can inspect/review/contribute and submit issues or feature requests. Please check the dialog for more details.