Smartphone Time: Why It Matters and Where to Look for Data
Every Xiaomi owner wonders, sooner or later, how many hours a day do I actually use my phone? This information is useful not only for monitoring digital hygiene, but also for diagnosing battery status. For example, if the screen on time (SOT) has dramatically decreased under the previous mode of use, this is a signal of possible battery wear or background processes that βeatβ charge.
The manufacturer hides this data deep in the system, but it can be extracted in several ways, from standard MIUI tools to engineering menus and third-party utilities. In this article, we will discuss all the current methods for the Redmi Note 12, POCO X5, Mi 11 and other devices based on MIUI 14/15 and Android 13/14.
What exactly can you learn? Depending on the method, you get:
- π Uptime β How many phones are on since the last reboot.
- β±οΈ Active screen time (SOT) β total length of use of the display.
- π Battery discharge statistics β which applications and processes consumed energy.
- π Use history β data from the last days/weeks (requires additional applications).
Method 1: Standard statistics in MIUI (without root)
The easiest method is to use the built-in MIUI tools, which will not show the exact time from the first turn on, but will give data on the current session and battery consumption statistics.
Instructions:
- Open the Settings. β Battery.
- Slip on the consumption chart icon (at the top of the screen).
- Screen Time will appear at the bottom β this is your Screen On Time (SOT) for the current charging cycle.
Limitations of the method:
- β Does not show the total time of the phone (uptime).
- β Resets after full charge or reset.
- β No history, just data for the day.
π‘
If the battery settings do not have a schedule, upgrade MIUI to the latest version or check the Settings β Special features β Usage statistics (on some firmware).
Method 2: Engineering menu (codes and hidden settings)
For advanced users, there is a way to get the exact uptime through the engineering menu, which works on all Xiaomi smartphones, but it requires caution β donβt change other settings unless youβre sure of their purpose!
Step-by-step:
- Open the phone app and enter the combination: ##4636##
- In the menu that appears, select Battery Information.
- Scroll down to the Time since boot block β this is the time your phone has been running since the last reboot in ChCh:MM:SS format.
Alternative code for some models (e.g. POCO F5):
##284##After entering, the battery test will open, where uptime will be indicated at the top of the screen.
What to do if the engineering menu is not opened?
β οΈ Warning: Do not change the settings in the engineering menu unless you know their purpose! This can lead to unstable operation of the phone or even a "brick" (breakdown of the firmware).
Method 3: Applications for monitoring (AccuBattery, GSam Battery)
The utility side provides advanced statistics, including usage history, battery wear forecast, and detailed energy consumption analysis. We recommend two proven applications:
| Annex | Functions | Features |
|---|---|---|
| AccuBattery | π History SOT days π Battery health forecast β‘ Optimizing charging | Free version with limitations; requires calibration within 2-3 days. |
| GSam Battery Monitor | π Detailed uptime and sleep time π Consumption schedules by application π Analysis of the system's awakenings | Paid version (~$2) for advanced features; runs without root, but with root gives more data. |
How to configure AccuBattery for maximum accuracy:
Install the app from Google Play| Complete initial calibration (charging to 100% and discharge to 20%)|Enable the option "Monitoring Charging" in settings | Calibrate battery capacity (indicated in mAh for your model)|Check the statistics after 3-5 charging cycles
-->
β οΈ Note: Battery monitoring applications may show inaccurate data on custom firmware (e.g. LineageOS or Pixel Experience). ADB.
Method 4: ADB-Teams for Advanced Users
If you're familiar with ADB (Android Debug Bridge), you can get your phone's life directly from system files, a method that's suitable for diagnosing or automating data collection.
Instructions:
- Install. ADB-pc-tool.
- Connect your phone to your computer and allow debugging over USB (Settings β About Phone β MIUI Version (Tap 7 times) β For developers β Debugging over USB).
- In the command line, run: adb shell cat /proc/uptime The first number in the answer is the kernel's run time in seconds. Divide it by 3600 to get the clock.
Example of conclusion:
123456.78 987654.32Here, 123456.78 is 123456 seconds (or ~34 hours) of phone life from the last reboot.
To get the time of the active screen, use the command:
adb shell dumpsys power | grep "mScreenOnTime"The answer will be in milliseconds (divided by 3.6 million for clock translation).
π‘
ADB-commands give the most accurate data, but require terminal skills. It's easier to use an engineering menu or application for a one-time check.
Method 5: System Logs (for technical support)
If you need to provide your phoneβs time to Xiaomiβs support team (for example, warranty repairs), you can export system logs that contain detailed information about uptime, reboots, and battery events.
How to get logs:
- Install the Mi Logs app (available in GetApps or via APK).
- Run log recording and play back the problem (e.g., fast battery drain).
- Export the file and find the lines with: uptime: - system time. screen_on: β total time of active screen. battery_discharge: β rank-up.
Example of a line from a log:
[2026-05-20 14:30:45] uptime: 36840 (sec), screen_on: 12345 (sec)Here, 36,840 seconds = ~10 hours of phone life, and 12,345 seconds = ~3.4 hours of active screen.
β οΈ Note: System logs may contain confidential information (IMEI, Before sending support, delete the extra data or use tools like Logcat Filter.
Comparison of methods: which one to choose?
The choice of method depends on your goal and level of preparation:
| Method | precision | Difficulty | When to use |
|---|---|---|---|
| MIUI Standard Statistics | ββ | β | Quickly check the SOT for the current day. |
| Engineering menu | ββββ | ββ | Exact uptime without third-party applications. |
| AccuBattery/GSam | ββββ | ββ | Long-term monitoring and analysis of the battery. |
| ADB-team | βββββ | ββββ | Technical diagnostics or automation. |
| Logs of the system | βββββ | βββββ | Support or in-depth analysis of problems. |
For most users, a combination of standard MIUI statistics (for quick monitoring) and AccuBattery (for history and forecasts) is enough. If you want accurate operating times for technical purposes, use an engineering menu or ADB.