Ever wonder how many hours your Xiaomi has been running since it first turned on? This information is useful not only to satisfy curiosity - it helps to assess the real wear of the battery, identify fake devices (where the meter is dropped), or understand how much use the smartphone was before buying from hand. Unfortunately, the manufacturer does not take this data to the home screen, but it can be extracted in several ways.
In this article, we will discuss 5 working methods - from simple (through standard settings) to advanced (using the use of the standard settings). ADB You'll learn where the screen, processor and battery life information is stored, how to interpret it correctly, and why the data may differ from source to source. MIUI, which Xiaomi does not advertise, but which are available through service codes.
Method: Screen time in MIUI settings
The most obvious and safe method is to use the built-in MIUI statistics, which show the total screen activity time (including downtime periods with the display on), but does not take into account the background operation of the processor or communication modules, but is a good starting point for assessing the intensity of use.
Instructions:
- π± Open the Settings. β Screen.
- β±οΈ Scroll down to the screen usage time block (in some versions) MIUI It's called "Display Time").
- π Here you can see the total time in hours, as well as daily, weekly and monthly statistics.
π‘
If the Screen Time section is missing, upgrade MIUI to the latest version or check settings in Settings β Google Accounts β Time Management (for devices with Google services).
Limitations of the method:
- β Does not show the time of operation in the off state (for example, background tasks).
- β Reset after hard reset (full reset settings).
- β In some models (for example, POCO F1 Or older Redmi Notes may not be available.
Method: Engineering menu (#4636##)
Xiaomiβs hidden engineering menu contains advanced data on device life, including total processor activity time and sleep time, accessed through service code, but beware: some settings here can be accidentally changed, which will lead to unstable smartphone operation.
How to open it:
- Open the phone app.
- Enter the code: ##4636## (without quotes).
- Select the "Battery Information" tab (or "Battery Information").
What to look for:
- π Uptime - the time of continuous operation of the system from the last restart (in the format DD:ChCh:MM:SS).
- π Screen on time β total screen time (may match the data from the settings) MIUI).
- β‘ Battery level - current charge and battery temperature (indirectly helps to assess wear and tear).
What if the #4636## code doesnβt work?
β οΈ Warning: Do not change the settings in the engineering menu unless you understand their purpose! For example, incorrect settings of the Modem Band can lead to loss of network.
Method 3: ADB commands (for advanced users)
If you want the most accurate data, including the operating time of the CPU cores and the number of reboots, ADB (Android Debug Bridge) will help, which requires connecting a smartphone to a computer, but gives access to system logs that do not show graphical interfaces.
Step-by-step:
- Install ADB Tools on your PC.
- Enable USB debugging on your smartphone: Settings β About Phone β MIUI version (click 7 times to activate Developer Mode), then Settings β Additional β Developers β Debugging over USB.
- Connect your phone to your PC and execute in the command line:
adb shell
cat /proc/uptimeResult:
- The first number is the systemβs operating time in seconds from the last restart.
- The second number is the idle time.
To get the total device running time (including all reboots) use:
adb shell dumpsys batteryLook for the lines:
- Total run time is the total battery life.
- charge cycles β the number of charging cycles (indirectly indicates the age of the battery).
Install Xiaomi drivers on PC|Enable debugging on USB phone-on|Download ADB Tools from the official website|Connect your phone with the original cable (not all) USB-cables support data transmission)
-->
β οΈ Attention: Teams ADB Misuse of system files (e.g. adb shell rm) -rf /) It can permanently disable the device.
Method: Applications for monitoring (AccuBattery, CPU Monitor)
If you don't want to mess with ADB or service code, third-party apps will come to the rescue, analyzing sensor and system log data, providing convenient graphics and statistics, and the main advantage is that they don't require root rights (except for advanced features).
Top.-3 applications:
| Annex | What shows | Features |
|---|---|---|
| AccuBattery | Battery life, charging cycles, battery wear | Free version with limitations; requires calibration |
| CPU Monitor | Processor operating time, temperature, core loading | Shows total uptime time in days |
| Device Info HW | Screen time, number of reboots, kernel version | Supports Xiaomi, Redmi and POCO |
How to use AccuBattery:
- Install the app from Google Play.
- Provide access to battery statistics (Usage Access permission).
- Go to the Health tab - here you can see the battery wear score and battery life.
π‘
For accurate data, use AccuBattery for at least 3-5 days. the app takes into account your charging habits and adjusts predictions.
5. Method: Data from MIUI Hidden Settings (for power users)
Xiaomi hides some parameters in deep system settings, which can be extracted using the MIUI Hidden Settings app (available on 4PDA or XDA Developers), a method suitable for devices with an unlocked bootloader or super-user right (root).
What can I find out:
- π Full uptime β the deviceβs operating time since the first activation (even after resetting the settings).
- π Boot count β number of reboots.
- π± Screen on/off events - log of on/off screen.
Instructions:
- Install. MIUI Hidden Settings (requires permission to install from unknown sources).
- Go to the System β Uptime section.
- Export the log to the.txt file for analysis.
β οΈ Note: Applications for working with hidden settings can disrupt stability MIUI. Use them at your own risk by pre-reserving a backup.
Comparison of methods: which way to choose?
Each of these methods has its pros and cons, depending on your goals and technical skills:
| Method | precision | Difficulty | Need root/ADB? | Suitable for |
|---|---|---|---|---|
| MIUI settings | Low. | Just | No. | Quickly estimate screen time |
| Engineering menu | Medium | Middle-Average | No. | Uptime checks and battery status |
| ADB | Tall. | Hardly. | Yeah (USB debugging) | Technical analysis, diagnostics |
| Party of annex | Medium | Just | No (except for extended functions) | Monitoring of the battery and processor |
| MIUI Hidden Settings | Tall. | Very difficult. | Yeah (root) | Receiving complete system logs |
π‘
For most users, a combination of MIUI + AccuBattery settings is enough. If you need data for a service center or checking a used device, use ADB or an engineering menu.
Frequent Mistakes and How to Avoid Them
When trying to find out how long Xiaomi is running, users often encounter problems, and here are the most common ones and ways to solve them:
- β #4636## does not open the menu πΉ Reason: Firmware without an engineering menu (especially relevant for global versions of Redmi). πΉ Solution: Use alternative codes: ##225## (calibration check) or ##6484## (battery test).