Modern smartphones, especially powerful Xiaomi devices, can absorb a huge amount of user time. Often we don’t even notice how a short break to check messages turns into an hour of aimless scrolling of tape or a protracted game session. The shells of MIUI and the new HyperOS include a detailed system of digital well-being that allows you to track activity in real time.
Understanding how much time you spend in specific applications is not only necessary for self-monitoring, but also for optimizing battery performance. Some background processes can unnoticedly drain the battery, creating the appearance of active use. In this article, we will examine all the ways to obtain accurate statistics, from standard menus to hidden engineering codes.
It’s important to note that the settings interface may vary slightly depending on the Android operating system version and regional firmware, but basic stats remain the same for most models, whether it’s a budget Redmi or a flagship Xiaomi.
Using the Digital Well-Being function
The main and most reliable source of time information is the built-in system module, and to access this data, you need to go to the main settings menu of the device, find the Screen Time or Digital Well-being and Parental Controls section, and that's where all the primary statistics are collected.
Once you log in, the system will give you an overview of the day, and you'll see a pie chart showing different colors for categories of apps: social media, games, tools, etc. By clicking on a particular sector or selecting an app from the list below, you'll get a minute-by-minute detail.
⚠️ Note: If the statistics are not displayed correctly or show zero values, check whether access to usage data for system processes is disabled in the special features menu.
The app limit is a feature that not only shows the time, but also allows you to block access to selected programs after reaching the established threshold, and it is an effective tool for combating smartphone addiction.
For a deeper analysis, click on the graph icon at the top of the screen, and you can switch to looking at the weekly stats, which will help you identify the days with the most device load and understand your habits in the long run. The data syncs with your Google account, so when you change your phone, the story can be saved.
Analysis of statistics through battery settings
An alternative, and sometimes more accurate, way to know when the screen is running is through the power consumption menu, and since the screen is the main consumer of charge, the system keeps a careful record of it. Go to Settings and select Battery.
In the window that opens, you'll see total charge percentage and a list of applications sorted by energy consumed. When you click on a particular application, you can often see not only the percentage, but also the screen time and the backlight time, which is a critical difference.
- 🔋 Screen time: Shows how many minutes the app was active on the display while you were using it.
- 🌑 Background activity: Shows how much resources the app consumed when you didn’t see it (content downloads, notifications).
- ⚡ Standby Consumption: Shows how fast the phone goes down when it’s lying idle.
This method is particularly useful for identifying “hidden battery eaters,” and sometimes the app may not be the leader in screen time, but consumes a lot of power in the background, in which case the system will suggest limiting its background activity.
💡
For maximum accuracy of data on the battery, it is recommended to carry out a full charge cycle once a month: discharge the phone to 0% and charge to 100% without interruptions.
Note that the data in the battery menu is updated with a slight delay. If you just closed the game, the statistics can be updated in 1-2 minutes.
Checking time in Google Play Games
If your primary interest is video games, the standard statistics of the system may be too general: Google Play Games maintains its own independent record of game time, and it is the most accurate source of data for gamers.
To view the statistics, open the Play Games app on your Xiaomi. Go to your user profile by clicking on the avatar. From the profile menu, select the "Game Activity" or "Statistics" section. Here you will see the total time spent in games and the details of each project.
| Parameter | Where to find out. | Accuracy of data |
|---|---|---|
| General time | Google Play Profile | Tall. |
| Time per session | Inside the game (often) | Medium |
| Achievements | The contribution of the Achievements | Precise. |
| Friends online | Section Friends | Real time. |
It is important to understand that Google Play Games only counts time when the game is launched through this service and has the appropriate integration.Some pirated versions or games running in isolated mode may not transfer data to the general profile.
⚠️ Note: Google Play Games statistics may be reset or incorrectly summarized when reinstalling the game or clearing the Play Games application itself.
In addition, many modern games have built-in time counters, usually in the player profile inside the game itself or in the About Me section, which is the third level of detail that is often ignored but gives the most honest picture.
Hidden Codes and Engineering Menu
For advanced users who are looking for hidden information about the state of the device, there are special devices. USSD-They allow you to enter the engineering menu, which contains technical statistics, but be careful: changing the settings in this menu can lead to unstable operation of the system.
To get into the testing menu, open the Phone app and enter the code ##4636##. If the code is active, the Test menu will open. Here we are interested in the Usage statistics section, where you can see a detailed history of all applications running.
#4636## - Sign-in code for the test menu
#6484## - CIT menu (hardware tests)
*#06# - IMEI checkThe usage statistics section shows the last use time, the number of launches and the total activity time, and the data is presented in Unix time format or readable format, depending on the version of MIUI.
What if the code doesn't work?
There is also code ##6484## that opens the CIT menu, which is designed to check hardware components (screen, sensor, speakers), but sometimes contains information about charging cycles and total device life since the first on.
Using ADB to obtain detailed statistics
The most professional way to know how many hours a Xiaomi phone has played is to use the Android Debug Bridge (ADB), a method that requires connecting the smartphone to a computer but gives access to raw data that is not visible in the normal interface.
To start, activate the developer mode. Go to Settings → About Phone and quickly click on MIUI Version (or OS Version) seven times. After that, a new section will appear in the settings menu "Additional" or "Extended Settings", where you need to turn on "Debugging over USB".
- 💻 Connect your phone to your PC with a cable and confirm debugging on your smartphone screen.
- 📥 Install platform tools ADB computer.
- 📝 Execute the command to output usage statistics.
The team to obtain the full statistics is as follows:
adb shell dumpsys usagestatsThe result of the execution of the command is a huge log file. To find the information you need, use filtering by the name of the application package. For example, to search for YouTube statistics:
adb shell dumpsys usagestats | grep "com.google.android.youtube"⚠️ Attention: When working with ADB Never execute commands from unverified sources.Incorrect use of shell commands can result in the deletion of system files or locking the bootloader.
In the output, look for the totalTimeActive or lastTimeActive fields. Time is usually given in milliseconds, so it takes a simple mathematical calculation to get the clock (divided by 3.6 million), which is the most accurate method that shows the actual time of the process in the kernel of the system.
☑️ Preparation for work with ADB
Third-party monitoring applications
If the built-in tools don't seem informative enough, you can always use third-party developers. There are many time-tracking apps on the Google Play Store that often provide more flexible settings and beautiful visualizations.
A popular solution is Google’s Digital Wellbeing app (unless it’s pre-installed or trimmed in your firmware) or specialized trackers like QualityTime or ActionDash, which ask for permission to “Use the Device” and start plotting their schedules from the moment they’re installed.
The advantage of third-party apps is that they can set more stringent restrictions, such as setting up locks at specific times of the day or limiting the total time a group of apps use, and some of them even know how to send weekly reports to email.
💡
Third-party applications cannot show usage history before they are installed, unlike system statistics, which is stored in the device database.
But privacy is important, because by giving an app access to usage statistics, you're actually letting it track all your smartphone activities, and you're only going to choose proven apps with good reputations and lots of positive feedback.