4 ms·
> there are tons of ways to do more battery monitoring without root Sorry, I mean more than the built in monitor, which is largely useless. There is no API th
by Veratyr 10y ago
> there are tons of ways to do more battery monitoring without root
Sorry, I mean more than the built in monitor, which is largely useless.
There is no API through which I can enumerate wakelocks, CPU usage, GPS usage, mobile radio traffic and activity, wifi radio traffic and activity or screen on/off time without system level permissions (i.e. built into the ROM). Therefore, there's no way for these things to be exposed to me as a user.
There used to be a permission called BATTERY_STATS but it was removed years ago and Google has been utterly unreceptive to reinstating it: https://code.google.com/p/android/issues/detail?id=61975 https://code.google.com/p/android/issues/detail?id=61975
And of course there's a bunch of apps on my device (Pixel) that have that permission such as Qualcomm's CNE app, Play Services (com.android.vending), another Qualcomm package (com.qualcomm.qti.auth.secureextauthservice) and a bunch of other Qualcomm packages.