Many smartphone users are faced with a situation where the battery discharges faster than usual, and the device heats up even in standby mode. Often the culprits of this behavior are background processes that consume processor resources without the owner's knowledge. To understand what exactly is “eating up” the charge and why the phone is slowing down, it is necessary to conduct a detailed diagnosis of the activity of installed apps. Knowing how to view the operating time of applications on Android is the first step to optimizing the system and extending the autonomy of your gadget.
Modern versions of the Android operating system provide built-in monitoring tools, but access to them may be hidden in different sections of the menu depending on the manufacturer. In addition, there are advanced analysis methods through engineering menus or computer utilities that show information down to the second. In this article, we will analyze all the available ways to check usage statistics, from simple settings to using the command line, so that you can fully control your smartphone.
Standard statistics section in system settings
The easiest and most accessible way to learn how long an application has been running is in the standard settings menu. This method does not require the installation of third-party software and works on the vast majority of devices running Android 6.0 and higher. The system automatically keeps an activity log, recording the time the app is in the foreground (when you use it) and in the background.
To obtain data, you need to go to the section Settings and find the item Applications or Application Manager. Depending on the model of your smartphone, for example Samsung Galaxy or Xiaomi Redmi, the path may differ slightly. After selecting a specific application, a screen with information will open, where there is often a “Battery Usage” or “Charge Consumption” tab. This is where the operating time in the active state and in the background is displayed.
However, if you are interested in the overall picture for all apps at once, it is better to use the section Battery in the main settings. Here, the system ranks applications by the amount of energy consumed, which indirectly indicates the time of their active operation. Important understandthat high energy consumption does not always mean a long operating time: some unoptimized applications can quickly drain the battery in a short period of time due to errors in the code.
⚠️ Attention: On some shells, such as MIUI or EMUI, operating time data may be hidden deep in the menu or displayed only in minutes without detailing by seconds. If you do not find the information you need, try clearing the cache of the “Settings” system application.
Statistics in this section are usually reset after a complete reboot of the device or when the battery reaches 100% charge, depending on the firmware version. Therefore, if you want to track activity for a specific period, it is better not to restart your phone during this time. This will allow you to accumulate correct data for analyzing the behavior of the system.
If you see an application that you have not used, but it runs for a long time in the background, try to force stop it and disable autostart.
Using the “Digital Well-being” function
Starting with version Android 9 (Pie), it has been introduced into the operating system function Digital Wellbeing (Digital well-being). This tool was created not only to monitor the user's health, but also provides one of the most accurate statistics on application usage time. Unlike the battery section, it is the screen time that is recorded here - the period when the application was active on the display.
To access this data, open Settings and find the item Digital well-being and parental controls. On the main screen, you will see a pie chart showing the distribution of time between different apps for the current day. By clicking on any sector of the chart or selecting an application from the list below, you will receive detailed information: how many times you opened the app and how much time you spent in it.
- 📱 Screen time —shows the duration of use of the application in active mode.
- 🔔 Number of notifications - displays how many times the application disturbed you during the day.
- 🚀 Number of launches - records how many times you opened a specific software.
A feature of this section is the ability to set timers for applications. If you notice that you spend too much time on a social network, the system can automatically limit access to it after the limit has been reached. This helps not only to control the operating time of the software, but also to fight digital addiction. The data here is updated in real time and reset daily at midnight.
It is worth noting that on smartphones of some Chinese brands, the Digital Wellbeing function can be replaced by its own analogues, for example, “Phone Health” or “Sleep Mode”. Their operating logic is similar, but the interface can be made in different colors or have additional blocking functions. In any case, this is the most visual way to see what your processor is doing during the day.
Viewing detailed statistics through the developer menu
For users for whom the standard settings are not enough, there is a deeper level of diagnostics - the developer menu. Here you can find information about how long processes stay in memory, how often they run, and how much RAM they occupy. This method is useful for identifying "parasitic" applications that do not appear in the normal battery list.
You must first activate developer mode. To do this, go to Settings → About phone and quickly click 7 times on the item Build number. After the message “You have become a developer” appears, a new section For developerswill appear in the main settings menu. In this section you need to find the item Process statistics or Running Services (Running services).
The list that opens displays all currently active processes. Here you will see a column with Uptime, which shows how long the process remains in memory without interruption. Critical distinguish between system processes and user applications. If you see a third-party application that has been running for several days, although you have not opened it, this is a clear sign of a resource leak.
⚠️ Attention: Do not stop system processes with unclear names in this menu. This can lead to unstable operation of the phone, loss of communication, or even a cyclic reboot of the device.
☑️ Checking suspicious processes
The data in this section is updated dynamically. If you minimize an application, it may disappear from the list of active services, but remain in the cache. The developer menu shows exactly what “lives” in RAM right now. This is an excellent tool for diagnosing the reasons why the phone starts to heat up or slow down for no apparent reason.
Analysis of usage history via ADB and computer
The most professional and detailed way to get information about the operating time of applications is to use USB debugging (ADB). This method allows you to download a complete system usage history, including screen wake-up times, app switches, and session durations. The data is stored in the usagestats system log, which is only accessible through a computer.
First, you will need to install ADB drivers on your computer and enable USB debugging in the developer menu on your phone. Connect your smartphone to your PC with a cable and open a command prompt or terminal. Enter the command to access statistics:
adb shell dumpsys usagestats
The result of the command will be a huge text log containing data on all packages. You need to look for sections starting with Package:followed by the application name. Inside this section there will be fields lastTimeActive (time of last activity) and totalTimeInForeground (total time spent in the foreground). Time is usually indicated in milliseconds, so for convenience it will have to be converted to minutes or hours.
| Parameter | Description | Unit of measurement |
|---|---|---|
totalTimeInForeground |
Time when the application was on the screen | Milliseconds |
totalTimeInBackground |
Time in the background | Milliseconds |
lastTimeActive |
Time stamp of last use | Unix Timestamp |
launchCount |
Number of application launches | Number |
This method is ideal for security audits. If you suspect that your phone has spyware or a miner that hides its icon, it will still show up in your usagestats. Even if an application is masquerading as a system application, its real package name (for example, com.suspicious.app) will reveal its true nature upon detailed analysis of the log.
How to decrypt Unix Timestamp?
Time in ADB logs is often presented in Unix format (number of seconds since 1970). To understand exactly when the application was running, use any online "Unix time to date" converter by inserting the value from the lastTimeActive field.
It is worth considering that the command dumpsys may work slowly on older devices due to the large amount of data generated. It is recommended to redirect the output to a text file for easy searching. This can be done with the command adb shell dumpsys usagestats > usage_log.txt. After this, you can open the file on your computer and use a search by the name of the application of interest.
Third-party utilities for monitoring activity
If the built-in tools seem too complex or not informative enough, you can use specialized applications from Google Play. There are many utilities that visualize runtime data by creating beautiful graphs and charts. Such apps often have a friendlier interface than the standard Android settings. Popular applications such as Usage Access require Usage Access when first launched. Once permissions are granted, they begin collecting statistics, showing which apps you use most often and at what time of day. Some of them allow you to export reports or set complex limits that are not available in the standard menu.
Popular apps such as Usage Direct or ActionDash, request access to the usage history (Usage Access) upon first launch. Once permissions are granted, they begin collecting statistics, showing which apps you use most often and at what time of day. Some of them allow you to export reports or set complex limits that are not available in the standard menu.
- 📊 Detailed analytics — plotting activity graphs by hour and day of the week.
- 🔒 Privacy control —notifications about which applications are accessing the camera or microphone.
- 🛑 Blockers —the ability to completely block access to certain apps at a given time.
However, using third-party monitors has its drawbacks. They themselves consume battery resources and can slow down the system, especially on budget smartphones. Plus, by sharing your usage history, you're trusting the app developer to know your digital habits. Always check the reputation of the developer before installing such software.
⚠️ Attention: Avoid applications that promise to “speed up your phone” and at the same time monitor statistics. Often such harvesters contain intrusive advertising or collect user personal data for commercial purposes.
Third-party applications are convenient for visualization, but the built-in tools of Android 9+ usually provide a sufficient level of detail without the risk of data leakage.
Interpretation of data and optimization of system performance
Having received data on application operating times, it is important to interpret them correctly. High background time is not always a problem. Messengers, email clients and navigators must work constantly to deliver notifications and update data. The problem is considered to be the activity of applications that should not function without user interaction, for example, a calculator, photo editor or games.
If you find an offending application, first check its settings. Many apps have their own options for running in the background, syncing, or push notifications. Disabling unnecessary features within the application itself is often more effective than global bans in the system. It is also worth checking the permissions: perhaps the application constantly uses geolocation, which leads to high activity.
In cases where the software limitation does not help, you can use the “Limit background activity” function. In the application settings, find the item Battery and select mode Limited or Austerity. This will cause the system to freeze the application as soon as you minimize it from the screen. However, be careful: this may result in you not receiving an important notification on time.
Regular monitoring of application runtime helps keep your smartphone clean and extends its service life battery. Weekly statistics check allows you to identify new problems immediately after installing updates or new apps, without waiting for a critical battery discharge. If you notice a sudden change in the behavior of the system, this is a signal to action: remove the problematic application or reset the settings.
Periodically view the list of applications with the right "On top of other windows." They are often responsible for intrusive advertising and background activity that is difficult to track using conventional methods.
Frequently asked questions (FAQ)
Why does the operating time in the settings not match my actual usage?
This may be due to background processes. The application may not be open on the screen, but perform tasks in the background (synchronization, downloading content), which is taken into account in the total operating time, but is not included in the Digital Wellbeing screen time statistics.
Is it possible to reset usage statistics without rebooting the phone?
There is no such button in the standard Android settings. Statistics are usually reset automatically when the battery is completely discharged to 0% and then recharged, or after resetting the device to factory settings. Some shells allow you to reset battery statistics manually in the engineering menu.
Does the power saving mode affect the display of operating time?
Yes, in severe energy saving mode, the system forcibly limits the background activity of applications. In statistics, this will be reflected as a sharp decrease in the time spent working in the background for most apps, except for permitted exceptions.
How to find out which application woke up the phone?
In the developer menu there is a “Wakelock History” item (if available on your version of Android), which shows which processes prevented the device from going into sleep mode. This information can also be seen in the ADB logs by tag WakeLock.
Is it safe to disable access to usage history for all applications?
This is safe for the system, but you will lose the ability to see statistics in the “Digital Wellbeing” section, and parental control functions and usage timers for applications to which you have blocked access will stop working.