Android M app hibernation (adb shell Dumpsys usagestats)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.