Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the Android APP special power consumption monitoring tool

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to use Android APP special power consumption monitoring tools, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

This tool is mainly used to monitor the power consumption data of app, to understand the power consumption of your own app, and to compare it with competitive products.

1. The environment in which the tool is used:

JDK and SDK need to be installed, and environment variables are configured to use the

Test device Android > = 5.0 or above

Second, connect the mobile phone through adb (not through USB connection so as not to affect the power data)

First of all, the computer connects to the mobile phone through usb, and enter adb devices to see if the device is connected.

The computer is connected to a 360wifi, and the mobile phone is also connected to the 360wifi network; remember to make sure there is a connection, this is to ensure that it is on the same network

Enter adb tcpip 5555 under dos, as shown below:

5. Disconnect the usb, type adb devices, and make sure there is no cell phone connection

6. Click Mobile system Settings, then enter the status message about Mobile phone, and view the ip address, as shown in the figure:

7. Enter adb connect 172.21.61.3 5555, and when determined, it will be displayed as shown in the figure:

8. Click on the power consumption monitoring program, jump out of the page, enter the package name, and click start, you can detect some relevant data about the electricity of the tested app.

Then you have to operate and make statistics, and then compare it with the competitive products.

In the monitoring process, if a disconnection occurs, you can enter the adb connect + ip address to connect, and the data will continue to be detected, because after the phone's dark screen, the adb will automatically disconnect.

These are all the contents of this article entitled "how to use Android APP Special Power consumption Monitoring tools". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report