How to test power consumption when plugged? I've try Batterystats and Battery Historian on Android Studio. It works fine when I unplugged the device for short time and plugged it later and I can get batterystats dumpsys. But when I consistently plugged the device, I still get batterystats dumpsys but missing a part of report called "Estimated power use"(Where I can find app power comsumption). And here comes my question: Is there anyway to get app power consumption when I consistently plugged the device?
Any help will be appreciated!
An example output of "Estimated power use":
Uid u0a48: 0.0198 ( cpu=0.0140 wifi=0.00534 sensor=0.000373 )