Have you ever wondered how many hours your Xiaomi smartphone has actually been running since you bought it? This information can come in handy when you buy a used device, estimate battery wear, or just out of curiosity. However, unlike screen time, which shows active use, total operating time is the total period when the phone was turned on, including background processes, charging, and downtime.
In this article, weβll look at all the validation methods available, from built-in MIUI tools to hidden engineering menus and ADB commands. Itβs important to understand that not all methods yield the same exact data: some times reset after resetting, and some only count battery life. Weβll also explain why some methods can show inflated or undervalued values, and how this relates to the Qualcomm/Mediatek architecture.
1. Check through the "Time of Use" menu in MIUI
The easiest way is to use the built-in MIUI statistics, which not only show the screen time, but also the total device life over the past 7 days.
- π Data is reset after hard reset or firmware update.
- β³ Not showing full service time for the entire life of the phone - only for a week.
- π Charging time can be considered or not β depends on the version. MIUI.
To open up the statistics:
- Go to Settings β Xiaomi Account β Use Time (on some models, the path may differ: Settings β Digital Well-being).
- Select the Statistics tab and scroll down to the Total Use Time chart.
- Click on the calendar icon in the upper right corner to see the data for the last 7 days.
π‘
If your MIUI version does not have a Time of Use tab, upgrade to the latest stable version or check for a hidden item through a search in the settings (magnifying glass icon).
This is a method that's good for quick evaluation, but it doesn't give you the full picture, for example, if the phone was idle with the screen off, that time might not count, and you'd have to use other methods to get more accurate data.
2. Engineering menu: hidden data about working hours
Xiaomi smartphones have a hidden engineering menu (Engineer Mode) that stores technical information, including processor life, which works on most models with Qualcomm Snapdragon chips (such as Redmi Note 10 Pro, POCO X3 Pro), but may not be available on devices with Mediatek (such as Redmi 9A).
Instructions for entry:
- Open the Phone app and enter the combination: ##4636##.
- In the menu that appears, select Battery Information.
- Scroll down to Time since boot, which is the time from the last phone on. This method is not suitable for general operating time, but it can also display Total run time (if supported).
What to do if the engineering menu is not opened?
Time since boot only shows the time since the last reboot, not the total. ADB or specialized applications.
3.Use of ADB for accurate diagnosis
If you want the most accurate data, including the operating time of the CPU cores and the total operating time of the system, Android Debug Bridge (ADB) will help. This method requires connecting the phone to the computer, but gives access to hidden parameters that are not shown in the MIUI interface.
Step-by-step:
- Install ADB Tools on your computer and enable USB Debugging on your phone (Settings β About Phone β MIUI version β tap 7 times, then go back to Settings β Additional β For Developers).
- Connect your phone to your PC and type in the command line: adb shell cat /proc/uptime The first number in the answer is the system's run time in seconds from the last reboot. To get the total time, use: adb shell cat /sys/class/power_supply/battery/time_in_state Here will be data on the battery life in different states (charging, discharging, etc.).
To automate the process, you can use a script:
adb shell dumpsys battery | find "since unplugged"This command will show the time since the disconnection from charging, which indirectly reflects active use.
Install Xiaomi drivers on PC
Enable debugging over USB in the developer settings
Download ADB Tools from the official Android website
Connect your phone with the original cable (not all cables support data transfer)
-->
Method limitation: ADB does not show total lifetime uptime, but only current session or data from the last statistical reset. Historical data will require system logs that are stored for a limited time.
Third-party monitoring applications
If you don't want to mess with ADB or the engineering menu, you can use third-party utilities that collect data from the same sources, but present it in a more convenient way.
- π± AccuBattery shows battery life, charging cycles and battery wear, suitable for estimating total activity time, but does not give accurate downtime data.
- βοΈ CPU Monitor -- monitors processor time, including background tasks, can show inflated values due to the inclusion of all cores.
- π Battery Guru β specializes in battery statistics, but indirectly allows you to estimate the total operating time through discharge schedules.
Example of data interpretation in AccuBattery:
| Parameter | What does it mean? | How to Related to Total Working Time |
|---|---|---|
| Screen on time | Time with active screen | Part of the total time but does not take into account background work |
| Battery usage | Battery consumption by application | Indirectly shows the activity of the processor |
| Charge cycles | Number of charging cycles | It helps to assess wear, but not work time |
| Deep sleep time | Time in deep sleep mode | Total operating time = Screen on + background activity + deep sleep |
π‘
The app side can't get the data on the uptime before it's installed, so install it right after you buy your phone to keep the full statistics.
The downside to this method is that it depends on the accuracy of sensors and application algorithms, for example, the CPU Monitor can show cores' operating times, but it doesn't take into account the periods when the phone was turned off.
System logs and statistics files
For advanced users, there is a way to extract historical data from system logs. Android keeps a log of events, including the time of the device on/off, stored in /proc/stat and /sys/kernel/debug files, but access to them requires root rights.
If you have root, do this:
adb shell
su
cat /sys/kernel/debug/wakeup_sourcesThis command will show all the wake-up events of the system, including time, and you can export the logs to the file for analysis.
adb shell dumpsys battery > battery_log.txtHow to read logs without root?
Log analysis can reconstruct the on/off chronology, but requires technical skills.
11-20 08:30:15.123: PowerManagerService: Going to sleep due to timeout...It shows the transition to sleep mode, and:
11-20 14:45:22.456: PowerManagerService: Waking up from sleep...By summing up the intervals between these events, you can approximate the total operating time.
Alternative methods: service centers and diagnostics
If you need official data (for example, for warranty or check used phone), you can contact the service center Xiaomi. they have access to service utilities that read the time of operation from the EEPROM (non-energy memory) of the device, this data is not reset in a normal reset and stores information from the moment the phone is first turned on.
What's being checked on the service:
- π§ Processor operating time (CPU uptime β the total activity time of all kernels.
- π Battery charging cycles β indirectly related to battery life.
- π‘ The operating time of communication modules (Wi-Fi, Bluetooth, cellular network).
The cost of such diagnostics is usually 500-1500 rubles, but you will receive an official report that can be used for sale or warranty repairs.
π‘
Before visiting the service center, back up your data. Some diagnostic tools may require a temporary reset.