adb bugreport get nothing

28 views Asked by At

When I wanna get battery log from my Android Phone(Android T insided) which is already run one night, only a little log I could get. I don't know what happend? Log shows that my log is reseted when I conneceted my phone on morning.

Befor test, I use adb shell dumpsys batterystats --reset and adb shell dumpsys batterystats --enable full-wake-history.

After one night test, I only use command adb bugreport to export my log, but log contains only 1 or 2 minutes log, not all night.

1

There are 1 answers

1
Omar A. Khaled On

This problem might be caused by Battery Optimization feature, if your phone has one Try disabling it as it sometimes interferes with the logging process.