App hibernation
In the marshmallow system, Google announced a new feature called APP hibernation. APP hibernation will stop those who don't
Popular apps (apps that haven't been used for a few days) connect to the network or run any program until the device is charged. For use with
This means that infrequently used apps do not consume power and thus prolong battery life.
Use the adb shell dumpsys usagestats command to view the APP's processes and their last active time, column
The APP's last day/week/month/year usage. In the developer options set, there is a new "not enabled
App, which lists whether the app and the app are currently enabled or not enabled (in app hibernation
Status).
C:\USERS\ZH>ADB Shell Dumpsys usagestats >log.txt
Reference:
High-performance Android application development
Author: [Beauty] Doug Sillars
Publisher: People's post and telecommunications publishing house
Translator: Wang Juolan/Zhou Danhong/Chanlon/Chen Wenshu/Lixinxin
Android M app hibernation (adb shell Dumpsys usagestats)