How to know the total time of Xiaomi phone: from settings to hidden commands

Ever wondered how many hours your Xiaomi has been on since it first activated? This information can come in handy when buying a used device, evaluating battery wear, or just to satisfy curiosity. Unlike battery life (which is reset after each charge), the total life of the smartphone is accumulated from the first turn on and not reset.

Unfortunately, MIUI doesn’t bring these statistics to the home screen, but it can be extracted in a number of ways, from standard menus to engineering commands. In this article, we’ll look at all the current techniques for 2018-2026 models, including hidden firmware features, working with ADBs, and even hardware diagnostics. You’ll learn not only how to get numbers, but how to interpret them correctly: for example, why the uptime may exceed the real age of the phone or how to distinguish fake data when buying.

1. Method: through the standard menu "About the phone"

The easiest method is to use the built-in MIUI statistics. It works on all Xiaomi, Redmi and POCO devices with a firmware version at least MIUI 10 (even on custom builds).

  1. Open the Settings. β†’ The phone.
  2. Tap 7-10 times on the MIUI version until the notification β€œYou’ve become a developer!” appears.
  3. Return to the main Settings menu and select a new section β†’ For developers.
  4. Scroll down to the Debugging block and find the Opening Time (or Uptime on English firmware).

Here you will see two key figures:

  • πŸ“± Uptime – How many hours the phone worked without turning off.
  • ⏳ Total Uptime: Total activity hours since first activation.

For example, if you see a value of 1250 hours, this means that the device worked for about 52 days (1250 Γ· 24). But beware: on some models (for example, Xiaomi 12T or Redmi Note 11 Pro+), this menu may display the time incorrectly after resetting.

πŸ’‘

If the Time is not on the developer menu, upgrade to the latest stable version of the firmware. On MIUI betas, this option is sometimes hidden.

Method: via the engineering menu (#4636##)

The hidden engineering menu provides advanced statistics, including CPU and communication module lifetimes, which works on most Xiaomi devices but can be blocked on some regional firmware (e.g. India or the EU).

Instructions:

  1. Open the Phone app.
  2. Enter the combination: ##4636### (some models may require ##225###).
  3. In the menu that opens, select the Battery Information or Usage Statistics tab.
  4. Find the Uptime line – this is the total operating time in milliseconds.

To translate milliseconds into hours, divide the value by 3.6 million.

12,345,678,900 ms Γ· 3,600,000 β‰ˆ 3,429 hours (142 days)
Why can the data in the engineering menu be different from the About menu?
The engineering menu sometimes takes into account the operating time of only the main processor, while the MIUI settings summarize the activity of all cores and coprocessors (for example, the NPU module for AI tasks), the difference usually does not exceed 5-10%.

⚠️ Attention: On devices with MIUI 14 and later, the engineering menu may be limited. If nothing happens after you enter the code, then the function is blocked by the manufacturer. ADB (method β„–3).

3. Method: via ADB (for advanced users)

If standard methods don’t work (like the POCO F5 or Xiaomi 13 Ultra with custom firmware), you can extract your runtime through Android Debug Bridge (ADB), which requires you to connect your phone to your PC, but gives you the most accurate data.

Step-by-step:

Install Platform Tools on PC

Enable USB debugging in the developer settings

Connect your phone to your PC via the original cable

Allow debugging on the phone screen (request will appear)

-->

  1. Open the command prompt (cmd on Windows or Terminal on macOS/Linux).
  2. Enter the command to check the connection: adb devices Wait for the serial number of your device to appear.
  3. Execute the command to get the time of work: adb shell cat /proc/uptime

You'll get two numbers through the space. One is the system's run time in seconds since the last restart, and the other is the idle. To find out the total run time, use the command:

adb shell cat /proc/stat | grep "btime"

Here, btime is timestamp (time in seconds since January 1, 1970), when the system was first launched. Subtract it from the current time to get the total run time.

On the About Phone menu.

From the Engineering Menu (#4636##)

Through ADB

Through analytics applications

Another way.-->

⚠️ Note: On some devices with MIUI 13+ Dynamic RAM Expansion team /proc/uptime It may be undervalued due to memory optimization, in which case use an alternative command:

adb shell dumpsys battery

Look for the line. total_run_time β€” It shows the total operating time in milliseconds.

Method: through application analysers

If you don't want to mess with settings or commands, you can use third-party apps that not only show you when you're up, but also visualize the statistics in the form of graphs.-3 tested:

AnnexFunctionsSupport for MIUIReference
CPU MonitorDisplays Uptime, processor load, temperatureYes (including MIUI 14)Google Play
DevCheckShows the operating time, information about the battery, sensorsYes (except for POCO with custom firmware)Google Play
AccuBatteryAnalyzes battery wear and network operating timePartially (may not show Total Uptime)Google Play

When using applications, consider:

  • πŸ“Š CPU Monitor and DevCheck take data from the same system files as the ADB, So their testimony must match.
  • πŸ”‹ AccuBattery focuses on battery life rather than total state on time.
  • 🚫 On devices with MIUI China (CN-version) some applications may require root rights to access complete statistics.

5. Method: through service centers and hardware diagnostics

If you buy a used phone or suspect that the data about the time of work was reset (for example, after firmware), you can contact the Xiaomi service center for hardware verification.

  • πŸ”§ Mi Flash Pro – official software for iron diagnostics, shows the power controller.
  • πŸ” DC-Phoenix – a Reading Tool EDL-logs where the history of inclusions is stored.
  • πŸ“‘ Qualcomm QPST β€” for Snapdragon chip-based devices (e.g. Xiaomi) 11T Pro or Black Shark 5).

The cost of such diagnostics in official Xiaomi services is about 500-1000 rubles (2026), but you will get not only the time of operation, but also a full report on the status of the battery, charging cycles and even the history of falls (if the phone is equipped with a G-sensor sensor).

⚠️ Warning: Some informal services offer "zero-time" for an additional fee, which is a scam: the phone's life is stored in non-volatile memory of the power controller and cannot be reset software without replacing the motherboard. The only legitimate way to zero is to completely reflash in mode EDL, But that would lead to a loss of warranty.

How to interpret the data correctly?

Now that you know how to take your time, it's important to understand what these numbers mean.

  • ⏱️ Average daily operating time: Divide the total time by the number of days since you bought it, for example, if your phone lasted 2,000 hours in 2 years (730 days), your average daily time will be ~2.7 hours. That's normal for most users.
  • πŸ”‹ Related to battery wear: If battery life is longer than 5,000 hours and the phone is less than 1.5 years old, this may indicate heavy use (e.g., constant modem or game operation##.
  • πŸ”„ Impact of reboots: frequent reboots (e.g. due to crashes) MIUI) They may understate the total operating time, as Uptime is reset every time it is turned off.

For clarity, we give a table of correspondence between the working time and typical use cases:

Working hours (hours)Day-equivalentTypical scenarioBattery status
1 000–2 00040-80 daysThe phone is used 2-4 hours a day, mainly for calls and instant messengers.Depreciation 10-20%
3 000–5 000125-200 daysActive use (social networks, video, navigation) for 4-6 hours a dayDepreciation 25-40%
7 000–10 000290–410 daysIntensive exploitation (games, mobile internet, multitasking)Depreciation 50-70%
More than 15,000.More than 600 daysRound-the-clock work (e.g., as well as IP-camera or server) or data forgery80%+ wear or battery replacement

πŸ’‘

If the phone lasts more than 10,000 hours but the device is less than 2 years old, this is a reason to doubt the authenticity of the data. POS-terminal) or data has been tampered with.

Frequent Mistakes and How to Avoid Them

When checking the time of work, users often encounter inaccurate data or can not find the right menus.

  • πŸ” No β€œWorking Time” item in the developer menu: Update MIUI It's not a stable version, but it's a beta version that can be hidden.
  • πŸ“΅ Engineering menu not open: Check if access is blocked by the operator (for example, on phones for Tinkoff Mobile or Tele2). Try entering the code through the SIM menu app.
  • πŸ–₯️ ADB Does not see the device: Install the original Xiaomi drivers from the official website and disable the antivirus, which can block debugging.
  • ⚠️ Update: It’s OK to upgrade to a new version MIUI It's completely reset. /data, which is cleaned by major updates.

If none of the methods worked, try an alternative method – check through Fastboot:

  1. Turn off the phone.
  2. Press the Power button + Volume down to enter the Fastboot.
  3. Connect the device to the PC and execute the command: fastboot getvar all
  4. Find the uptime line – it contains the run time in seconds.
Can you reset the time of Xiaomi phone?
No, it's not possible without replacing the motherboard. Data is stored in non-volatile memory of the power controller (PMIC) and is not reset even after full formatting. The only way to zero is to flash in EDL mode with boxing (e.g. EasyJTAG), but this is: Removes warranty. Requires professional equipment. May lead to IMEI blocking. If the seller claims to have "zeroed the operating time," chances are that he just reset or tampled the data through X-posed modules.
Why is the life of my Xiaomi Redmi Note 10 Pro longer than the actual age of the phone?
This can occur for several reasons: Counter error: On some firmware (for example, MIUI 12.5 Enhanced) the operating time is summed up by the activity of the coprocessors, which gives an inflated value. 24/7: Like, like, IP-camera, server or POS-Check the battery wear through the terminal ##6484##. Data swapping: On phones with root rights, the uptime can be tampered with by changing files to /proc. To verify authenticity, compare the time of operation with data from Google Account (section "Your DevicesΒ» β†’ Β«ActivityΒ»).
How to find out the time of work on Xiaomi with custom firmware (for example, LineageOS)?
On informal firmware, standard methods (##4636## Or the About Phone menu may not work: ADB: adb shell cat /proc/uptime or for general time: adb shell cat /proc/stat | grep btime Appendix CPU Monitor β€” it reads data directly from the kernel. Terminal: Install Termux and execute: su cat /sys/class/power_supply/battery/time_in_state ⚠️ On some custom firmware (e.g. Pixel Experience), these commands may require root rights.
Does the time of work affect the cost of a used Xiaomi phone?
Yes, but indirectly. The run time itself is not a key factor in the assessment, but it helps to identify: Intensity of use: If the phone has run 8,000 hours in 1.5 years, this indicates a high load (for example, games or streaming). Authenticity of data: The discrepancy between the run time and the release date (for example, 3,000 hours on a phone 2023 release) may indicate a fake. Battery status: The longer the battery life, the higher the probability of battery wear (especially if it exceeds 5,000 hours). In the secondary market (for example, Avito or Yula), the price difference between phones with a time of 1 000 and 10 000 hours of operation can reach 1 000 - 10 000 hours.
Can I know the operating time of individual components (e.g., a screen or a 5G module)?
Yes, but it would require root rights or special equipment, and here's what you can check: Screen: Backlighting time is stored in the display controller. ADB: adb shell dumpsys display Look for mScreenOnTime. 5G: On Snapdragon phones. 8 Gen 1/2 (for example, Xiaomi 12S Ultra) modem operating time is displayed in logs QMI. Qualcomm is needed to read them. QXDM. Camera: The number of pictures taken and the operating time of the module can be found through EXIF-data from the first photo or app Camera2 API Probe.Without root licenses, this information is only available in Xiaomi service centers.