Have you ever wondered how much time you spend in front of a Xiaomi smartphone? Average screen time is not just a stat, but a useful tool for monitoring digital hygiene, analyzing productivity, or even diagnosing battery problems. In MIUI (the Xiaomi brand shell), this feature is hidden in an unobvious way, and in some models it is not at all in the standard menu.
In this article, weโll look at 5 working ways to check screen time, from official settings to hidden engineering menus and third-party apps. Youโll learn how to look at day/week/month statistics, which Redmi, Poco and Xiaomi models support the feature natively, and what to do if Suddenly data disappeared after the update. And a unique life hack with ADB for advanced users that works even on custom firmware.
1.Official method: "Time of use" in MIUI
The easiest method is to use the built-in Time of Use feature (aka Digital Wellbeing in global firmware), but there are pitfalls: on some Xiaomi models, this option is disabled by default or hidden due to regional restrictions.
To find her:
- ๐ฑ Open the Settings. โ Device Memory and Digital Well-Being (or Special Features) โ Digital Well-Being on Older Versions MIUI).
- ๐ Tap on the Control Panel or Usage Statistics.
- ๐ Scroll down to the screen usage time block โ this displays the average value for the selected period (day/week).
If the item is not on the menu, try:
- Update MIUI to the latest version (in Settings โ About Phone โ System Update).
- Change the device region to India or Europe (via Settings โ Additional โ Region).
- Install Google Digital Wellbeing from Play Market (powered by global firmware).
โ ๏ธ Note: On devices with Chinese firmware (for example, Xiaomi 13 Ultra) CN) Time of Use is often absent due to local privacy laws. MIUI or use the methods in Section 3.
2. Hidden statistics in the โBatteryโ: an alternative data source
If you don't have a built-in time tracker, try extracting data from the Battery section, where Xiaomi logs the screen activity to calculate the energy consumption, and you can adapt that data to our needs.
Instructions:
- Go to Settings โ Battery and Performance โ Battery Use.
- Slap the icon. โฎ (three dots) in the upper right corner and select Screen Activity Time.
- The system will show you a graph of the total screen time over the last 24 hours or 7 days, and to get the average, divide the total hours by the number of days.
Example of calculation: if the screen worked 42 hours per week, the average daily time will be 42 รท 7 = 6 hours / day.
| Xiaomi model | Supports "Time of Use" | We have data in the Battery. | Notes |
|---|---|---|---|
| Redmi Note 12 Pro+ | โ Yes. | โ Yes. | Global firmware MIUI 14 |
| Poco F5 | โ No, only through Google) | โ Yes. | Digital Wellbeing Requires Installation |
| Xiaomi 13T | โ Yes. | โ Yes. | Data is reset after rebooting |
| Redmi 10A | โ No. | โ Yes, 24 hours only) | Budget models lack expanded statistics |
๐ก
If there is no โScreen Activity Timeโ item in the Battery section, try turning on Developer Mode (7 taps by build number in About Phone) and go back to the menu โ sometimes the option appears after that.
3. Engineering menu: data for advanced users
For those who arenโt afraid to dig deeper, Xiaomi has a hidden engineering menu with detailed screen usage statistics that works on 90% of models, but requires caution โ wrong actions can lead to crashes.
How to open it:
- In the phone app, type the code: ##4636##
- In the menu that opens, select Usage statistics (or Usage Statistics).
- Scroll to the Screen on Time block โ here is the exact time in HH:MM:SS format.
Advantages of the method:
- ๐ง It works even on devices without Google Services (for example, on Chinese firmware).
- ๐ Shows data since the last reboot (more precisely than the Battery sectionยป).
- ๐ No need for root rights or additional applications.
โ ๏ธ Note: On some models (Xiaomi) 12S Ultra, Redmi K50 Gaming) the engineering menu can be blocked by the manufacturer. If nothing happens after entering the code, try the alternative code: ##2664## (screen test) + statistics).
What to do if the engineering menu is not opened?
4. ADB-Commands: Exact screen time without root
For users familiar with Android Debug Bridge (ADB), there is a way to get data directly from system logs.This method is universal and works on all Xiaomi models, including those where standard stats functions are disabled.
Step-by-step:
- Enable USB Debugging in Settings โ About Phone โ MIUI version (7 taps) โ Additional โ For developers.
- Connect your phone to your PC and execute the command: adb shell dumpsys power
- In the conclusion, find the lines: mScreenOnTime=XXXXXms where XXXXX is time in milliseconds. Translate it into hours by dividing it by 3.6 million.
Example of inference and calculation:
mScreenOnTime=21600000ms
21 600 000 รท 3 600 000 = 6 hoursTo automate the process, you can use a script:
adb shell dumpsys power | findstr "mScreenOnTime" && echo "Screentime in hours:" && set /a time=%value%/3600000 && echo%time%๐ Install Xiaomi drivers USB Drivers|๐ฅ Download Platform Tools from Google|๐ง Enable debugging on USB phone-on|๐ฅ๏ธ Start the command line on behalf of the administrator-->
5. Third-party apps: top-3 solution MIUI
If the built-in methods don't work, third-party utilities will come to the rescue, and we tested dozens of apps and selected the top 3, optimized for Xiaomi:
- ActionDash: ๐ Detailed statistics on applications (including background activity). ๐ Synchronization of data between devices. โ ๏ธ Requires permission Special access in settings MIUI.
- Digital Wellbeing (Google): ๐ It only works on global firmware with Google Services. ๐ฑ Integration with family control (for parents). โ On Chinese firmware (CN ROM) not installed.
Screen Time Tracker
- ๐ Export of data to CSV for analysis in Excel.
- ๐ Minimal battery impact (tested on Poco) X5 Pro).
- ๐ฐ Free version with a limit of 7 days of statistics.
Example of log output:
05-20 12:30:45.123 1234 5678 PowerManagerService: Screen on (user=0)
05-20 14:15:22.456 1234 5678 PowerManagerService: Screen off (user=0)To automate parsing, use Python script:
import re
from datetime import datetime
log_data = "" [your logcat output]""""
pattern = r"(\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}).*Screen (on|off)"
matches = re.findall(pattern, log_data)
screen_time = 0
for i in range(0, len(matches)-1, 2):
t1 = datetime.strptime(matches[i][0], "%m-%d %H:%M:%S.%f")
t2 = datetime.strptime(matches[i+1][0], "%m-%d %H:%M:%S.%f")
screen_time += (t2 - t1).total_seconds()
print(f) Total screen time: {screen_time/3600:.2f} hoursโ ๏ธ Note: Parsing logs through logcat can put a lot of strain on the phone's processor.Do not use this method on weak devices (Redmi) 9A, Poco C31) โ heat-risk.