# Fixing Accessibility Service Stops Automatically (MIUI, Samsung, OnePlus, Vivo)

On many Android smartphones—particularly devices manufactured by Xiaomi
(MIUI/HyperOS), Samsung, OnePlus/Oppo/Realme, and Vivo—aggressive manufacturer
battery optimization algorithms automatically terminate background accessibility
services after a few hours or when the phone enters standby mode. Here is how to
keep Quietube running uninterrupted.


1. XIAOMI, REDMI & POCO (MIUI / HYPEROS)

 1. Open Settings > Apps > Manage Apps > Quietube.
 2. Enable Autostart.
 3. Tap Battery Saver and select No Restrictions.
 4. Open your Android Recents app switcher, long-press on the Quietube card, and
    tap the Padlock icon to lock Quietube in memory.


2. SAMSUNG (ONE UI)

 1. Open Settings > Battery and device care > Battery.
 2. Tap Background usage limits.
 3. Tap Never sleeping apps and add Quietube to the list.
 4. Under Apps > Quietube > Battery, select Unrestricted.


3. ONEPLUS, OPPO & REALME (OXYGENOS / COLOROS / REALME UI)

 1. Open Settings > Battery > More settings > App battery management.
 2. Select Quietube and enable both Allow background activity and Allow
    auto-launch.
 3. In Recents view, tap the three dots beside Quietube and choose Lock.


4. VIVO & IQOO (FUNTOUCH OS)

 1. Open Settings > Battery > Background power consumption management.
 2. Find Quietube and select Allow high background power consumption.

Following these steps ensures Quietube's focus blocker remains active and
reliable throughout all your study sessions.