Monitoring your smartphone has become a necessity for many users. Xiaomi has built in its MIUI shell tools to monitor activity, but they are often hidden in non-obvious menu sections. If you want to know how many hours a day you spend on social networks, games or work โ or limit your childโs access to the gadget โ this guide will help you understand all the nuances.
The standard statistics in MIUI show not only total usage time, but also app allocation, screen unlocks, and even comparisons to previous days. However, there are limitations to the feature: for example, it is reset after a settings reset or firmware update, and we will tell you how to get around these shortcomings and save data for a long time.
In this article you will find:
- ๐ Where is the built-in time report in MIUI 12/13/14
- ๐ How to export statistics to a file for analysis
- ๐ถ Set up parental control for children
- ๐ง Hidden commands for advanced users
- โ ๏ธ Why data may not match reality
Method 1: Standard statistics in MIUI settings
The easiest method is to use the built-in Time of Use tool, which is available on all Xiaomi, Redmi and POCO smartphones with MIUI 10 and later.
- Open the Settings app (cog icon).
- Go to Digital Well-Being and Parental Control (older versions of Screen Time).
- Slip on the item Toolbar or Usage Statistics.
Here you'll see:
- ๐ฑ Total use time for today/week
- ๐ The number of screen unlocks (shows how often you pick up your phone)
- ๐ Top applications by activity time
- ๐ Timetable of activity by hour (peak periods)
๐ก
If the Digital Well-Being section is missing, upgrade MIUI to the latest version or check the firmware region. In the Chinese version (China ROM), the feature may be called Screen Time and require a link to your Mi Account.
Note that the statistics are collected only after the first activation of the function, if you have never visited this section, the data from the past days will not be available, and when you reset the phone to the factory settings, the whole story is erased without the possibility of recovery.
Method 2: Exporting data through Digital Well-being
If you need to save statistics for analysis (for example, for reporting or comparing to other periods), MIUI allows you to export data to a file.
- Open Settings โ Digital Well-Being โ Toolbar.
- In the upper right corner, press three dots (โฎ) and select Data Export.
- Specify the period (day/week/month) and confirm the export.
The file will be saved as.csv in the Download folder, and it can be opened in Excel, Google Sheets, or any text editor.
| Field. | Description | Example of meaning |
|---|---|---|
| date | Recording date. | 2026-05-15 |
| package_name | Application ID | com.whatsapp |
| usage_time | Time of use (in seconds) | 3600 (1 hour) |
| launch_count | Number of launches | 12 |
Make sure that the Digital Well-Being feature is enabled|Check the space in the memory (file can weigh up to 5 MB)|Sync data with Mi Account for backup|Open the file on PC for easy analysis-->
Exported data can be used to:
- ๐ Graphics in Google Data Studio
- ๐จโ๐ผ Productivity analysis (e.g., time in work applications)
- ๐ถ Control over the use of the gadget by the child
Once a day.|Once a week.|Only when the battery is down.|Never checked.-->
Method 3: Parental Control for Children
If you want to limit the time a child uses a smartphone, MIUI has a separate tool called Parental Control, which allows you to:
- ๐ Set limits on apps (e.g. 1 hour per day for gaming)
- ๐ซ Block access to certain programs
- ๐ต Set up โsleep timeโ (when the phone cannot be used)
- ๐ View activity reports
To set up:
- Go to Settings โ Digital Well-Being โ Parental Controls.
- Select a child profile (or create a new one).
- Set a password to protect your settings.
- Set time and application limits.
What to do if your child resets the parental control password?
โ ๏ธ Attention: Parental controls only work on devices with one user profile. MIUI, restrictions will not apply.
Hidden functions: ADB-team-up
For those who are ready to use the Android debugging bridge (ADB), there is a way to get advanced statistics, including background data. Connect your phone to your PC and follow the commands:
adb shell dumpsys usagestats --help
adb shell dumpsys usagestats stats --days 7This will provide a detailed report for the past 7 days, including:
- ๐ฅ๏ธ Working hours in foreground/background for each application
- ๐ Use of battery by process
- ๐ถ Mobile data activity/Wi-Fi
For convenience, you can redirect the output to the file:
adb shell dumpsys usagestats stats --days 30 > usage_stats.txtโ ๏ธ Attention: Use ADB requires on-set debugging. USB (Settings โ The phone. โ Version. MIUI โ Tap 7 times, then return to the additional โ For developers: Incorrect commands can disrupt the system.
Why can the data be inaccurate?
Users often complain that MIUI statistics do not match the actual usage time.
- Background activity: Some applications (such as instant messengers) continue to โaccumulateโ time in the background.
- Synchronization errors: If the phone is turned off or discharged, data during this period may be lost.
- Android Limitations: The system does not take into account the time spent in Safe Mode or when connecting to another device via Miracast.
- Manual time change: If you manually shifted the clock on your phone, the statistics will go wrong.
To improve accuracy:
- ๐ Update regularly MIUI (In new versions, bugs are fixed with time in mind).
- ๐ต Avoid forced closure of applications through Cleanup RAM.
- ๐ Keep an eye on battery charge (at a discharge below 5%, data may not be stored).
๐ก
For maximum accuracy, use third-party trackers like ActionDash or Googleโs Digital Wellbeing, which take into account the nuances that the built-in MIUI statistics miss.
Third-party applications for detailed analysis
If the built-in MIUI tools arenโt enough, try specialized utilities:
| Annex | Features | Reference |
|---|---|---|
| ActionDash | Data visualization, comparison with other users, notifications of exceeding limits | Google Play |
| Digital Wellbeing | Googleโs Official Solution, Integration with Family Settings | Pre-installed on Android 9+ |
| StayFree | Weekly reports, app lock, widget for the main screen | Google Play |
Advantages of third-party solutions:
- ๐ Cross-platform synchronization (data available on all devices).
- ๐ Flexible notifications (e.g., โYouโve spent 2 hours on TikTok in a rowยป).
- ๐ Exports to PDF/Excel filtered.
However, note that some features (e.g., application blocking) will require permissions to provide Special Features or Overlay over other windows.