Modern smartphones have become an integral part of life, but their constant operation affects the battery charge, productivity and even the quality of sleep. Automatic shutdown of Android on a schedule solves these problems: the phone will turn off at a given time (for example, at night) and turn on in the morning, saving power and reducing the load on the system. This feature is especially useful for parents who want to limit the time their children use gadgets, or for those who monitor their digital balance.

In this article you will find detailed instructions for all versions of Android - from Android 10 to Android 14, including bypassing manufacturer restrictions (Samsung, Xiaomi, Google Pixel, etc.). We'll look at both standard toolsand third-party apps with advanced capabilities, and we'll also tell you how to set up exceptions for important calls or alarms. If your phone doesn't support auto-shutdown out of the box, you'll learn how to bypass it without root access.

Why you should use your phone's auto-shutdown

The scheduled shutdown feature is useful not only for saving battery. Here are the key advantages:

  • ๐Ÿ”‹ Extending battery life: regular full discharge/charge cycles reduce battery life. Automatic shutdown at night prevents overcharging.
  • ๐Ÿ˜ด Improving sleep: the absence of nighttime notifications and blue screen light promotes the production of melatonin.
  • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Parental controls: limiting the time children use gadgets without conflicts.
  • ๐Ÿ›ก๏ธ Security: the phone will not be available for hacking or surveillance in your absence (for example, at night).
  • ๐Ÿ“ฑ Performance optimization: reboot clears the cache and closes background processes.

Research shows what Disconnecting the smartphone daily for 6-8 hours increases the average battery life by 15-20% (test data Battery University). At the same time, many users note that in the morning the phone works faster thanks to clearing the RAM.

โš ๏ธ Attention: On some devices (for example, Huawei or OnePlusAuto shutdown may conflict with energy saving modes. Before setting up, check whether background processes for system applications are disabled.

Method 1: Standard "Sleep" function (Android 12 and later)

Starting from Android 12, Google has added a built-in tool Sleep modethat can automatically turn off the phone at a specified time. This feature is available on most devices, including Google Pixel, Samsung Galaxy (with shell One UI 4.0+), Xiaomi (MIUI 13+) etc. Here's how to set it up:

  1. Open Settings โ†’ Digital Wellbeing and parental control.
  2. Select Sleep mode (or Rest time on some firmware).
  3. Activate the option Schedule and specify the start and end time of sleep.
  4. Turn on the switch Disconnect device (on some phones this option is hidden - see spoiler below).
  5. Save the settings and confirm the permissions.
Where to look for the "Disconnect device" option on Samsung?

On Samsung phones with One UI 5.0+, the path is different: Settings โ†’ Care behind the device โ†’ Digital well-being โ†’ Sleep mode โ†’ Additional settings โ†’ Turn off the device on a schedule. If there is no option, update the firmware or use Method 3.

Important: on some devices Sony Xperia i Motorola the function may be called Night mode or Time without gadgets. If you donโ€™t find it in digital well-being, check the section System โ†’ Schedule.

Manufacturer Name functions Path in settings Supports auto shutdown?
Google Pixel Sleep mode Digital well-being โ†’ Sleep mode Yes
Samsung Sleep mode / Rest time Device care โ†’ Digital well-being Yes (with One UI 4.0+)
Xiaomi/Redmi/Poco Digital balance Settings โ†’ Digital balance โ†’ Sleep mode Partially (blocking only)
Huawei/Honor Sleep time Settings โ†’ Digital balance โ†’ Sleep time No (screen dimming only)
๐Ÿ“Š What brand is yours? smartphone?
Samsung
Xiaomi
Google Pixel
Huawei
Other

Method 2: Automation via Google Assistant (without root)

If your phone does not support auto shutdown normally, you can use Google Assistant with routines This method works on all devices with Google Play Services and does not require installation of additional applications. Instructions:

  1. Activate Google Assistant with a voice command or by holding the button Home.
  2. Say: "Hey Google, create a routine" or go to Assistant Settings โ†’ Routines.
  3. Select Create a new routine and specify a trigger By time.
  4. Set the shutdown time (for example, 23:00) and add an action Device management โ†’ Turn off phone.
  5. Save the routine and provide all necessary permissions.

Restrictions method:

  • ๐Ÿšซ Does not work on devices without Google Mobile Services (for example, on some models Huawei after sanctions).
  • ๐Ÿ”„ Requires an active Internet connection to trigger.
  • โฐ May trigger with a delay of up to 5 minutes.
๐Ÿ’ก

If the routine does not work, check whether the option Google Assistant is enabled in the application settings Google (section Settings โ†’ Google Assistant โ†’ General).

Method 3: Applications for auto-shutdown (TOP-3 tested)

If standard tools are not suitable, use third-party applications We tested dozens of utilities and selected the three most reliable:

  1. Power Off Scheduler (free, without unnecessary stuff). water)
    • โœ… Works without root on 90% of devices.
    • โœ… Supports flexible schedules (daily, weekday, one-time).
    • โœ… Can turn off the phone when the battery is low.

    Download from Google Play. After installation:

    1. Open the application and grant permission to access accessibility features.
    

    2. Click "Add task" โ†’ select "Turn off device."

    3. weeks.

    4. Activate the task with the switch.

  2. Automate (shareware)
    • โœ… Allows you to create complex scenarios (for example, disconnecting when connected to Wi-Fi + by time).
    • โœ… Powered by Android 5.0+.
    • โš ๏ธ Requires setting up ADB to bypass restrictions (instructions in the spoiler).
  3. MacroDroid (free with premium options)
    • โœ… Intuitive interface with a visual macro builder.
    • โœ… Supports conditions (for example, "turn off if charge > 30%").
    • โœ… Can send a notification before shutting down.
How to set up ADB for Automate?

1. Connect your phone to the PC and turn on USB debugging v Settings โ†’ For developers.

2. Download ADB Tools and run the command:

adb shell pm grant com.llamalab.automate android.permission.REBOOT

3. Reboot the phone.

โš ๏ธ Attention: Applications like Power Off Scheduler require permission Special opportunitiesIf after setting the phone does not turn off, check whether the battery optimizer is blocking their operation (at Xiaomi this is Settings โ†’ Applications โ†’ Permissions โ†’ Autostart).

Method 4: Automatic shutdown via Tasker (for advanced)

Tasker is the most powerful automation app on Android, but setting it up requires technical knowledge. With its help, you can create a script that will:

  • ๐Ÿ”„ Turn off the phone according to a schedule.
  • ๐Ÿ“ด Ignore the shutdown if charging.
  • ๐Ÿ”” Turn on the alarm even after turning off (via Alarm Manager).

Step-by-step guide:

  1. Install Tasker from Google Play.
  2. Create a new task (Tasks โ†’ +) and add an action System โ†’ Reboot.
  3. In the action parameters, select Power Off.
  4. Create a profile (Profiles โ†’ + โ†’ Time) and specify the response time.
  5. Link the profile to the created task.

To work without root you will need ADB command:

adb shell pm grant net.dinglisch.android.taskerm android.permission.REBOOT

The latest version of Tasker has been installed|USB debugging has been enabled|ADB command for permissions has been executed|A backup of important data has been created-->

Method 5: Scheduled shutdown on phones without root (bypassing restrictions)

If your phone does not support auto shutdown and applications do not work due to manufacturer restrictions (for example, on Huawei or Oppo), there is a workaround through ADB or physical power button:

Method 1: Emulating the power button press

Applications like Button Mapper can emulate a long press of the power button to turn off. To do this:

  1. Install Button Mapper and grant permission to Accessibility.
  2. Create a new button with an action Power Dialog.
  3. Set up automatic time triggering via MacroDroid or Automate.

Method 2: Using Widgets

Some launchers (for example, Nova Launcher) allow you to add shutdown widgets to the main screen. Combining widgets with MacroDroid gives the following algorithm:

  1. Add a widget Shutdown to the screen.
  2. C MacroDroid create a macro that opens this widget by time.
  3. Set up a delay of 2-3 seconds and tap emulation on the "Turn off" button.
โš ๏ธ Attention: On devices with MIUI 14+ and ColorOS 13+ these methods may be blocked by the security system. In this case, the only option left is manual shutdown or use Tasker with ADB.

Exceptions and important nuances

Auto-shutdown is a useful feature, but it may conflict with other processes. Here's what you need to consider:

  • ๐Ÿ”” Alarms: On most phones, the alarm will work even after turning off (used by Alarm ManagerBut on some firmware (for example, EMUI from Huawei) this is not guaranteed. Check the operation. alarm clock in advance!
  • ๐Ÿ“ž Important calls: If you might get a call at night (for example, from work), set up exceptions in Do not disturb (Settings โ†’ Sound โ†’ Do not disturb โ†’ Exceptions).
  • ๐Ÿ”„ System updates: Auto shutdown may interrupt downloading updates. Disable the feature the night before major updates.
  • ๐Ÿ”Œ Charging: If the phone turns off while charging, this can damage the battery. Set an exception for when the device is connected to. network.

On devices with Android 13+ an option has appeared Adaptive. shutdownthat analyzes your habits and adjusts the shutdown time. To activate it:

  1. Go to Settings โ†’ System โ†’ Adaptive settings.
  2. Turn on Adaptive shutdown and grant access to use applications.
  3. Wait 2-3 days for the system to collect data about your routine.
๐Ÿ’ก

Before setting up auto shutdown, always test it during the daytime to make sure that the phone turns back on and all functions (alarms, calls) work correctly.

FAQ: Frequently asked questions about Android auto-shutdown

Is it possible to configure auto-shutdown on Android 9 and below?

On older versions of Android there is no standard function, but you can use:

  • Tasker + plugin Secure Settings (requires root).
  • Automate with ADB permissions (instructions in Method 4).
  • Applications like Power Off Scheduler, but they may not work without root.

On Android 8.0 Oreo and below, emulation of pressing the power button via Button Mapper.

Why does the phone not turn on after auto-shutdown?

Possible reasons:

  • Battery is dead (check charging).
  • Firmware failure (try holding down the power button for 10-15 seconds).
  • Conflict with the auto shutdown application (uninstall it via Recovery Mode).

If the phone does not respond, connect it to the charger and hold Power + Volume Down 10 seconds to force a reboot.

How to cancel a scheduled shutdown?

Methods depending on the setup method:

  • Standard function: Return to Settings โ†’ Digital Wellbeing โ†’ Sleep Mode and disable the schedule.
  • Applications (Power Off Scheduler, MacroDroid): Open the application and deactivate the task.
  • Tasker: Disable the profile or task in the main menu.
  • Google Assistant: Delete a routine in Assistant settings.
Will auto shutdown work if the phone is low?

No. If the battery charge is below 5-10%, most devices ignore the shutdown command to avoid complete discharge:

  • Connect the phone to charge before going to bed.
  • B Tasker or Automate add a condition: turn off only when the charge is > 20%.
Is it possible to set up different schedules for weekdays and weekends?

Yes, this is supported:

  • Power Off Scheduler (option "Repeat by days of the week").
  • MacroDroid (condition Day of week in triggers).
  • Tasker (use variable %DAYW to check day).

Example for MacroDroid:

Trigger: Time (23:00) + Condition (Day of week โ‰  Saturday, Sunday)

Action: Turn off the device