How to Check How Much Xiaomi Phone Works: A Complete Guide

Xiaomi smartphone owners often face the need to know the total battery life of the device β€” whether it is to assess battery wear, check before buying a used phone or just out of curiosity. Unfortunately, the manufacturer does not display this information on the home screen, but it can be obtained in several ways: through hidden menus, engineering codes or specialized applications.

Many users mistakenly confuse uptime with screen-on time, the first showing how many hours the phone has been on since the last reboot or the first launch, and the second showing only the period of active screen use, and in this article we will look at all the current methods, including those that work even on locked devices.

Important: Some methods require developer or unlocked bootloader rights, and if you're not sure what you're doing, use the safe methods in the first section.

1. Check through phone settings (no root)

The easiest way to know when to run is to look at Xiaomi’s standard settings, which require no additional software installation and works on all models starting with MIUI 10.

Open the Settings menu β†’ About the phone. Here you will see a few key settings:

  • πŸ“… Operating time - total time since the last reboot (in DD:Ch:MM format).
  • πŸ”„ Time without recharging - how much has passed since disconnecting from the charger.
  • πŸ”‹ Battery status - approximate battery wear may be displayed here (on some models).

Note that if the phone has recently rebooted, the uptime will be reset, and to get the data for the entire life of the phone, you will need alternative methods.

πŸ“Š How often do you reboot your Xiaomi?
Once a week.
Only after the updates
Never.
When it starts to brake

2. Engineering menu: hidden codes for Xiaomi

The manufacturer hides some of the technical information in the engineering menu, access to which is opened through special USSD-These commands work on most models, including the Redmi Note. 10/11/12, POCO X3/X4/X5 and flagship series Xiaomi 12/13/14.

Enter one of the following codes in the Phone application:

#4636## - Main Engineering Menu (Battery Information)
##225## - Alternative code for checking the time of operation (on some firmware)
##6484## - Hardware test (includes data on the processor's running time)

In the menu that opens, look for the Battery Information or Usage Statistics tab, and here you'll find the Uptime line, which is the total time your phone has been running since the last reboot, and some devices also display Total Uptime, which is the total lifetime of your phone.

πŸ’‘

If the codes don’t work, try typing them without the * and # characters or use the MTK Engineering Mode app for devices on MediaTek processors.

3. Monitoring applications: AccuBattery, CPU Monitor

The utility side allows you not only to know the time of operation, but also to track the history of use, the temperature of the processor and the battery status.

AccuBattery (free, with premium options):

  • πŸ“Š Shows the time of operation on one charge and the history of discharge.
  • πŸ”‹ Estimates battery wear by number of charging cycles.
  • ⚑ Offers optimal settings to extend battery life.

CPU Monitor (paid, but with trial period):

  • ⏱️ Displays the total processor running time (including background tasks).
  • πŸ“ˆ It is a graph of the CPU load and GPU.
  • πŸ” Allows you to export logs for analysis.

To obtain accurate data, after installing the application, you need to:

  1. Reboot the phone.
  2. Give the application all the permissions requested (including access to battery statistics).
  3. Wait 24-48 hours to collect enough data.
Why can apps show different operating times?
The difference in performance is due to the fact that standard Xiaomi settings only take into account the activity time of the OS kernel, and third-party utilities - the total load on the processor, including background processes. For example, if the phone was lying unused, but in the background was running an application update, AccuBattery will count this as "work time", and the system menu - not.

4. ADB-Teams for Advanced Users

If you’re ready to work with Android Debug Bridge (ADB), you can get the most accurate data about the device’s time, which is suitable for Xiaomi owners with an unlocked bootloader or USB debugging enabled.

Connect the phone to your computer and execute the following commands in the terminal:

adb shell


cat /proc/uptime

The first number in the answer is the kernel's lifetime in seconds. To convert it into a familiar format, use an online calculator or command:

adb shell "echo $(awk '{print int($1/3600) \" hours \" int(($1%3600)/60) \" minutes\"} /proc/uptime"

To get a restart history (if it is maintained by the system), do:

adb shell dumpsys battery

In the conclusion, find the line since last unplugged – this is the time since the last disconnect from charging.

Install Xiaomi drivers on PC|Enable debugging on USB developer-setting|Download the platform ADB from the official Google website|Connect your phone to the original cable-->

5. Check through MIUI Hidden Settings (for older models)

On devices with MIUI 8-11, there was a hidden menu that displayed the phone's time from the moment it first turned on.

  1. Open the Settings. β†’ Additionally.
  2. Click 5 times in a row on the MIUI version bar until a notification appears to unlock the developer settings.
  3. Go back to the main settings menu and open the developer settings.
  4. Find MIUI Hidden Settings (may be called Hidden Settings).
  5. Go to Battery & Performance section β†’ Uptime.

On the new MIUI 12+ versions, this section has been removed, but similar information can be obtained through MIUI Diagnostics (not available on all models).

adb shell am start -n com.miui.bugreport/.ui.BugReportActivity

πŸ’‘

On devices with Qualcomm Snapdragon processor, hidden settings may not be available, in which case use ADB or the engineering menu.

Analysis of system logs (for technical specialists)

The most difficult, but also the most informative, method is to study system logs, which requires root rights or unlocked bootloaders, and logcat skills.

To get the working time from the logs:

  1. Connect your phone to your PC and open the ADB terminal.
  2. Use the command to save logs: adb logcat -d -f uptime_log.txt
  3. Open the file and find lines with the kernel or boot tag.
  4. Look for Boot completed in Xms records, which is the boot time you can use to calculate uptime.

To automate the process, you can use a script:

adb shell "dumpsys alarm" | grep "since"

This command will display the last reboot time and the current uptime.

⚠️ Warning: Incorrect logging can cause phone malfunctions.Do not delete or edit system files without backup.

Comparison of methods: which one to choose?

Depending on your goal and your technical skills, there are different ways to check your work time.

MethodprecisionDifficultyRequired rightsSuitable for
Phone settingsLow (reset when rebooted)JustNo.Quick check.
Engineering menuMediumJustNo.Rootless devices
AccuBattery/CPU MonitorTall (with history)Middle-AverageAccess to battery statisticsLong-term monitoring
ADB-teamMaximumHardly.USB debuggingTechnical specialists
Log analysisMaximum (with history)Very difficult.Root or unlocked boot loaderDiagnostics of problems

For most users, the best solution is a combination of the engineering menu (for the current uptime) and AccuBattery (for the history of use).

FAQ: Frequent questions about Xiaomi's working hours

Can I find out the phone’s time if it’s turned off?
No, when you turn off the device, the uptime counter resets. However, if the phone runs out before it is completely shut down, some Xiaomi models save the last session time in non-volatile memory. ADB post-charging.
Why is the time in settings and AccuBattery different?
The system menu shows the operating system kernel activity time, while AccuBattery also takes into account background processes and the time when the phone was in sleep mode but not completely off, a difference of as much as 10-15%.
How do you reset the time meter?
The only way to reset the uptime is to reboot the phone, and some Xiaomi models also reset when the battery is completely drained (below 1%).
Can you tell if your phone is new or used?
Indirectly, yes. If the uptime is over 1,000 hours (β‰ˆ42 days of continuous operation, this indicates active use, but fraudsters can reset the meter through firmware, so it is better to use a comprehensive analysis to check used devices (for example, checking battery wear through adb shell dumpsys battery).
Does the time of operation affect the performance of the phone?
There is no direct dependence, but a long uptime (more than 7-10 days without restarting) can lead to: - memory leaks (applications begin to slow down); - overheating due to accumulated background processes; - sensor failures (for example, a gyroscope or GPS).

⚠️ Note: On custom firmware devices (such as LineageOS or Pixel Experience), standard uptime verification methods may not work. ADB or specialized applications for modified systems.