Modern smartphones have become an integral part of our lives, and sometimes we just need to ensure ourselves a good rest without distracting notifications or the temptation to check the news feed. The automatic power-off feature at a preset time is an excellent tool for digital hygiene, especially for parents who want to control their children's screen time, or for users monitoring the health of their sleep.

Unfortunately, in "pure" Android this option is often hidden or not explicit, unlike iOS, where power on and off scheduling has been implemented for a long time. However, shell manufacturers such as Samsung, Xiaomi or Huaweioften add their own utilities for these purposes. In this article, we will look at all the available methods, from built-in tools to third-party applications.

It is important to understand that the process may vary depending on the version of the operating system and the specific model of your device. Below are universal solutions that will help you set up automatic shutdown smartphone without having to do it manually every evening.

Built-in functions in manufacturers' shells

The first step is to check the settings of the device itself, since many Chinese and Korean brands integrate timers power directly into the system. This is the most reliable method that does not require the installation of additional software. Typically, such settings are located in the system utilities or special features section.

For example, in smartphones Xiaomi with the MIUI or HyperOS shell, the function is called “Scheduled on and off”. To find it, you need to go to menu Settings → Accessibility → Scheduled power on and off. Here you can set a specific time to turn off the power and, if necessary, a time to turn on again in the morning.

Devices from Samsung often have this option in the device maintenance section or in the battery settings. The path may look like this: Settings → Device maintenance → Automation. In some older versions of One UI, this feature is hidden deeper in the Accessibility menu. If you do not find the item you need right away, use the search in the settings by entering the request “shutdown.”

  • 📱 Check the "Accessibility" section in the system settings.
  • ⚙️ Use the built-in search in the settings menu to quick access.
  • 🔋 Look for options in the “Battery” or “Device Maintenance” sections.
📊 What brand of smartphone do you have?
Samsung
Xiaomi
Pixel
Huawei/Honor
Other

It is worth noting that in stock Android (for example, on Google Pixel) such a function can absent by default. In this case, the system relies on Do Not Disturb or Digital Wellbeing modes, which lock the screen but do not turn off the power completely. To completely turn off stock devices, you will need other solutions, which we will talk about below.

Configuration through Do Not Disturb mode and sleep timers

If your goal is not to physically turn off the device, but to limit its use at night, standard Android tools do an excellent job of this. The “Do Not Disturb” mode allows you to mute all sounds and vibrations, as well as hide visual notifications, creating the effect of a “turned off” phone for the user.

To configure the automatic activation of this mode, go to Settings → Sound and vibration → Do not disturb → Schedule. Here you can create a rule that will include silence, for example, from 23:00 to 07:00. You can flexibly configure exceptions by allowing calls from selected contacts or repeated calls, which is critical for emergency situations.

Additionally, there is a “Sleep Mode” or “Digital Well-Being” function. Not only does it limit notifications, but it can also turn the screen into grayscale, making using the device less appealing to the brain. It is usually activated through the quick settings panel or in the section Settings → Digital well-being and parental controls.

Using third-party applications for automation

When the built-in tools are not enough, applications from the Google Play Store come to the rescue, created specifically to automate system processes. The leader in this niche is the application MacroDroid or more complex Tasker. They allow you to create a script that will send a command to turn off the device at a specified time.

Such applications often require advanced access rights to operate. In the case of MacroDroid, you need to create a new macro, select the “Time of Day” trigger, set the desired time, and select “Turn off the device” as an action.

An alternative to complex settings are simple shutdown timers, such as Power Off Alarm or Alarmy with the task function. These apps work like an alarm clock: they can force the system to shut down or block the interface until a certain condition is met, for example, solving a mathematical problem.

☑️ Preparing to install automation

Done: 0 / 4

⚠️ Attention: When using third-party applications to turn off the phone, make sure that you have a reliable way to wake up the device in the morning (for example, a separate alarm clock on another gadget) if the application fails to turn on.

Parental controls and screen time restrictions

If the question of how to make the phone turn itself off is faced by parents who want to limit their child’s access to the gadget, the best solution would be to use parental control services. Google Family Link allows you to remotely lock your child's device at a specified time.

Once the app is installed on the parent and child's phone, you can set a "Bedtime" time. During this period, the child's phone is locked: only emergency calls and approved applications work on it. The screen becomes dark, and the device actually ceases to function as an entertainment center.

The advantage of this method is that the child cannot independently disable the restriction or delete the application without the parent's knowledge. This creates a strong digital hygiene framework that helps develop healthy technology habits from an early age.

Restriction method Difficulty level Requires root access Efficiency
Built-in schedule (MIUI/OneUI) Low No High (complete shutdown)
Do not disturb mode Low No Medium (silence only)
Automation applications High Often yes High (depending on rights)
Google Family Link Average No Maximum (remote blocking)

Problems with access rights and root access

The main difficulty when setting up automatic shutdown on modern smartphones is Google's security policy. Starting with Android 10, third-party applications are prohibited from executing a complete power shutdown command without root access (superuser rights).

Obtaining root access (via Magisk or analogs) gives full control over the system, allowing any scripts to manage power. However, this voids the device’s warranty, can lead to failure if done incorrectly, and makes it impossible to use banking applications due to SafetyNet protection.

What are root access?

root access (Superuser) are an analogue of administrator rights in Windows, but for Android. They allow you to modify system files and give commands to the system kernel, such as a forced shutdown or reboot. Without these rights, the application can only emulate a shutdown, dimming the screen and blocking input.

If you are not willing to risk the device’s warranty, it is better to limit yourself to a software screen lock or use the manufacturer’s built-in functions that work at the system level and do not require hacking the security. In most cases, simulating shutdown by dimming the screen and disconnecting networks is quite sufficient for rest.

⚠️ Attention: Obtaining root access may irreversibly change the phone software. Before attempting to hack the security, be sure to make a complete backup of all important data.

Alternative ways to save energy at night

Sometimes users look for a way to turn off the phone not for the sake of discipline, but to save battery power or reduce radiation during sleep. In such cases, a complete shutdown is not necessary. You can use airplane mode, which turns off all radio modules.

You can automate the activation of airplane mode through the same scheduler applications or built-in Bixby (on Samsung) and Google Assistant scripts. The command to the voice assistant “Turn on airplane mode at 23:00” can be saved as a daily routine.

This approach allows you to keep the alarm clock working (since the system does not turn off completely), but at the same time the phone stops emitting radio signals and consuming energy to search for a network. This is a compromise solution that suits most users.

💡

For maximum energy savings at night, turn on the power saving mode along with airplane mode - this will extend the battery charge until the morning even with an active alarm clock.

💡

Built-in functions of manufacturers (Xiaomi, Samsung) are the safest and most reliable way to configure auto shutdown without the need for root access.

Frequently asked questions (FAQ)

Why doesn’t my phone turn off according to schedule, although I have configured everything?

Most often the problem lies in Android limitations. Third-party applications cannot turn off the phone without root access. Check if you are using the manufacturer's built-in feature or if you have superuser rights. Also make sure that battery optimization is disabled for the application in the settings.

Will the alarm work if the phone turns off automatically?

On most modern smartphones, the alarm will work even when it is turned off, since it is recorded in non-volatile memory. However, on some models or when using third-party applications, the alarm may not work. Always test this feature experimentally before going to bed.

Is it possible to set it to turn off only on weekends?

Yes, if you use the built-in functions of MIUI or One UI, there is often a choice of days of the week for the schedule. In automation apps like MacroDroid, you can add a "Day of the Week" condition as an additional trigger to run the shutdown script.

Is it safe to leave your phone on overnight?

Modern lithium-ion batteries and power controllers are quite safe to run continuously. However, to extend battery life and reduce processor load, it is useful to give the phone a “rest” at least once a week or use night power saving modes.

⚠️ Attention: Menu interfaces and item names may differ depending on the firmware version and model of your smartphone. If you do not find an exact match, look for similar sections in the settings.