How to see how much time spent in the application on Xiaomi: all the ways

Monitoring time spent in mobile apps has become an important part of digital hygiene. Xiaomi, Redmi and POCO MIUI-based smartphones offer several built-in tools to monitor activity, from basic statistics to detailed reports.

In this article, we’ll look at 5 working ways to check app usage times, including hidden Digital Well-Being features, Google analytics, and even methods for rootless devices. We’ll focus on the nuances of different MIUI versions (12 to 14) and HyperOS models, where the interface may differ. If you want to not only look at statistics, but also limit time on social networks or games, here’s a solution.

Important: some methods require pre-setting, such as the MIUI Time of Use feature is disabled by default, you have to activate it manually, and Google data may not match the system data due to different counting algorithms, and we'll explain why and which source to trust.

1. MIUI Built-in statistics: "Time of use"

The most obvious way is to use the built-in Time of Use tool (or Digital Wellbeing in global firmware) and it is available on all Xiaomi devices with MIUI 10 and up, including models with HyperOS.

Open Settings β†’ Time to Use. If the item is not in the main menu, search by settings (the magnifier icon in the upper right corner) and enter the "Time to Use" request.

In the first section, you'll see the general statistics for the day: how much time you spent on your phone, how many unlocks you've had, and how you categorize (social media, games, media, etc.) and below you'll see a detailed report on apps -- tap on any one to see the activity graph by the hour.

⚠️

Note: If you've never turned this feature on, the system will suggest setting it up when you first log in. Without activation, data will not be collected!

To obtain the most accurate data:

  • πŸ”„ Update. MIUI The last version is in the old firmware (up to the last version). MIUI (12) statistics may have been collected incorrectly.
  • ⏳ Wait 24 hours after activation of the function – the data will only appear the next day.
  • πŸ“Š Enable data collection for all users (if there are multiple profiles on the phone).
πŸ“Š What version? MIUI You're using it?
MIUI 12
MIUI 13
MIUI 14
HyperOS
I don't know.

Google Digital Wellbeing: An Alternative Data Source

If the built-in MIUI statistics seem incomplete, try Google Digital Wellbeing.It works on all smartphones with Google Mobile Services (including Xiaomi for the global market) and often provides more detailed analytics.

To open it up:

  1. Go to Settings β†’ Google β†’ Services on your device β†’ Digital Wellbeing.
  2. Slip the pie chart at the top of the screen to see the time distribution across apps.
  3. For a detailed report, select "View details" below the schedule.

Advantages of this method:

  • πŸ“± Cross-platform: Data syncs with other devices on your Google account.
  • πŸ“ˆ Flexible reports: you can see the statistics for a week or a month MIUI usually only daily data).
  • πŸ› οΈ Limitation tools: here you can set timers for applications.

⚠️

Note: Some Xiaomi models for the Chinese market (not available) GMS) This service may not be available, and Google data and MIUI may diverge 10-30 minutes due to different activity counting algorithms.

If you don’t see Digital Wellbeing in the settings, check:

  • πŸ” Is the application com.google.android.apps.wellbeing installed (can be found through Settings) β†’ Annexes β†’ Application management).
  • 🌍 Do you use global firmware (in Chinese versions) MIUI without GMS This service is unavailable).

3. Hidden analytics in "Security" (for MIUI 12-14)

Few people know, but the Security app hides another source of statistics, and it works even if the main Time of Use is disabled or reset.

Instructions:

  1. Open the Security app (if it isn’t on your desktop, search through search).
  2. Go to Optimization or Acceleration (name depends on MIUI version).
  3. Slip on the item "Time of use" or "Applications activity".
  4. Here you will see a list of applications with an indication of the activity time and the number of launches.

Differences from standard statistics:

  • ⏱️ Data updated in real time (no delay of 24 hours).
  • πŸ“Š Shows background activity of apps (for example, how long Facebook has been running in backgrounds).
  • πŸ”§ Allows you to immediately clear the cache or block the application.
Why are the data in β€œSecurity” and β€œTime of Use” different?
The Security module takes into account the total application process time (including background activity), whereas the basic MIUI statistics only capture the screen interaction time. For example, if you listen to music on Spotify with a locked screen, Security will count that time, and Use Time will not.

⚠️

Attention: POCO lightweight (POCO Launcher) this section may not be available. Also, after resetting the story in "Security" is cleared.

4.Using ADB for Advanced Users

If you need raw time data (for example, for analysis or backup), you can extract it through ADB (Android Debug Bridge), which requires a connection to a computer, but gives you the most complete information.

What you need:

  • πŸ–₯️ Computer with installed ADB-Drivers (you can download from Google for Android) SDK).
  • πŸ“± Included debugging by USB on a smartphone (Settings) β†’ The phone. β†’ Version. MIUI β€” Tap 7 times, then return to the additional β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ USB-cable (preferably original).

Data extraction commands:

adb shell dumpsys usage

This team will produce a full report of the time of use for the last 7 days, including:

The activity time of each application (mPackageName)

Number of launches (mLaunchCount)

Time of last use (mlasttimeused)

To save data in a file:

adb shell dumpsys usage > usage_stats.txt

⚠️

Attention: MIUI 14 If the command returns the error "Permission denied", try to issue permission first: adb shell pm grant com.android.settings android.permission.PACKAGE_USAGE_STATS

Advantages of the method:

  • πŸ“„ Receiving raw data without interface constraints.
  • πŸ” Ability to analyze system processes (for example, how much time com.miui.home spends on re-drawing the launcher).
  • πŸ’Ύ Exporting data for long-term storage.

Install ADB-driver on PC| Enable debugging over USB on Xiaomi| Connect the phone with the original cable | Check the connection with the adb device-->

5. Third-party monitoring applications

If the built-in MIUI tools don't suit you, you can use third-party tools that offer advanced analytics, cross-platform synchronization, and additional features like app locking or family control.

Top.-3 apps:

AnnexFeaturesConsReference
ActionDashDetailed statistics with graphs, support for Dark Mode, data exportPaid version for advanced functionsGoogle Play
Digital Wellbeing (by Google)Official decision, integration with Google account, app timersNo support for Chinese versions of MIUI without GMSBuilt into the system
StayFreeFree, simple interface, notifications about exceeding limitsAdvertising in free version, no data exportGoogle Play

⚠️

Note: On MIUI 14 and HyperOS, some applications (such as ActionDash) may require additional permissions. After installation, go to Settings β†’ Apps β†’ Permissions β†’ Special Access β†’ Use Time and enable access for a third-party utility.

How to choose the best app:

  • πŸ“Š If you need visual analysis – ActionDash.
  • ⏰ If timers and constraints are important – built-in Digital Wellbeing.
  • πŸ†“ If you want a free solution without unnecessary features – StayFree.

πŸ’‘

Before installing third-party monitoring apps, check their permissions in Settings β†’ Applications. Some utilities request access to geolocation or contacts, which is not required to collect time statistics.

6. How to Reset or Hide Use Statistics

Sometimes users want to reset their counters or hide their app time data, which may be needed before selling a phone, to test new habits, or for other reasons, and consider legitimate ways (no root rights).

Methods of resetting statistics:

  • πŸ”„ Through settings MIUI: Open the Settings. β†’ Time of use, tap the icon. βš™οΈ (settings) in the upper right corner. Select "Reset data".

Through "Security."

  1. Go to Security β†’ Optimization β†’ Use Time.
  2. Click "Clear Data" at the bottom of the screen.
  3. πŸ”§ Through ADB (for full reset: adb shell pm clear com.miui.usage

⚠️

Note: Resetting statistics through ADB can lead to errors in the system utilities (for example, the battery optimizer will stop working).

How to hide data from outsiders:

  • πŸ”’ "Time of use": in the settings of the function can be installed PIN-code.
  • πŸ‘€ Create a guest profile: in Settings β†’ System system β†’ Multiple users add a guest account without access to your statistics.
  • πŸ“΅ Turn off notifications: Go to Settings β†’ Notifications β†’ Time of use and deactivate alerts.

Also check Settings β†’ Battery β†’ Power Saving Mode – some applications may be excluded from optimization.

⏳ Can you look at the statistics from last month?
In standard MIUI tools, history is only stored for 7 days. To get data over a longer period: Use Google Digital Wellbeing, which has monthly statistics available. Install a third-party app like ActionDash that saves history longer. Export data through ADB once a week and maintain your own database.
πŸ“΅ How to disable the collection of time-of-use statistics?
If you are concerned about privacy, you can completely deactivate the function: Go to Settings β†’ Time of use, tap the icon. βš™οΈ (setting) β†’ "Turn off usage time. Confirm action. ⚠️ After disabling all collected data will be deleted without the possibility of recovery.
πŸ”„ Statistics are dropped by themselves?
Automatic resets are usually associated with: MIUI updates – after major updates (e.g., version 13 to version 14), data can be reset. Clearing the cache of system applications (com.miui.usage or com.android.settings). A failure in the Security module – try updating it through the Play Market. To minimize the risk of data loss, regularly export statistics through ADB or third-party applications.
πŸ“Š Why Google Digital Wellbeing and MIUI number?
The difference arises from different counting methods: Google takes into account the time with the active screen in the application. MIUI adds background activity (for example, playing music with a locked screen). Some system processes (for example, com.miui.home) can only be counted in MIUI. For accuracy, focus on Google Digital Wellbeing - its algorithms are more transparent and standardized.