Android 4.4_r1 removed the possibility for apps to request for the BATTERY_INFO permission, This is the commit https://android.googlesource.com/pla…f8db87b%5E%21/
The reason (issue mentioned) for the commit is unknown.
This permission and the access to batterystats – formerly known as batteryinfo – service is vital for use cases (and apps) dealing with analysing awake and wakeup causes (battery drainers) as this services gives access to partial wakelocks and alarms.
I would like to request a rollback of the mentioned commit. See issue 61975
How to fix this issue?
1. install Xposed Framework.apk
2. install EnableBatteryStats.apk
3. Enable Battery Stats