Disabling Optimizers and Memory Cleaners
Some Android devices have an “optimizer” or “memory cleaner” that prevents Locale from running.
Note that manufacturers intentionally keep moving and renaming these settings every few months, in order to make it difficult for you to turn them off. They also reset your preferences after system updates, so you might have to re-check them after updating your phone.
For these reasons our instructions are pretty much guaranteed to be incomplete, so please use your brain to look for settings that look suspiciously similar.
Repeat these for Locale X, the Locale Helper, and any third-party plug-ins.
All devices
Android 14
Disable automatic pausing of unused apps: Locale X will detect this setting for itself, but it cannot detect it for the Locale X Helper and for plug-ins
- Open Android settings
- Choose Apps
- Choose All Apps
- Scroll down to find Locale X Helper and all third-party plug-ins
- Tap on the app
- Make sure that “Pause app activity if unused” is disabled
Samsung
Android 12
Disable battery saver: When battery saver is enabled, location detection is blocked
- Open Android Settings
- Choose Battery and Device Care
- Choose Battery
- Make sure the option for “Power saving” is disabled
Disable adaptive battery
- Open Android Settings
- Choose Battery and Device Care
- Choose Battery
- Choose More battery settings
- Make sure the option for “Adaptive battery” is disabled
Disable background usage limits
- Open Android Settings
- Choose Battery and Device Care
- Choose Battery
- Choose More battery settings
- Choose “Background usage limits”
- Disable “Put unused apps to sleep”
Disable Memory Cleaner
- Open Android Settings
- Choose Device Care
- Choose Memory
- Choose “Excluded Apps”
- Tap the Plus sign (+) button in the corner
- Choose Locale X to exclude it from the memory cleaner
Disable battery saver automation
- Open Android Settings
- Choose Battery and Device Care
- In the top corner under the “…” menu, choose Automation
- Disable “Auto optimize daily”
- Disable “Adaptive power saving”
- Disable “Auto restart at set times”
Android 11
Disable Battery Optimization
- Open Android Settings
- Choose Apps
- Choose Locale X
- Choose Battery
- Make sure that “Allow background activity” is turned on
- Make sure that “Optimize battery usage” is turned off
Disable Memory Cleaner
- Open Android Settings
- Choose Device Care
- Choose Memory
- Choose “Excluded Apps”
- Choose Locale X to exclude it from the memory cleaner
Disable background usage limits
- Open Android Settings
- Choose Battery and Device Care
- Choose Background Usage Limits
- Choose Never Sleeping apps
- Hit the Add button and add Locale X to the list of apps that will never sleep. NOTE: If you cannot add Locale X to the list, you might need to temporarily enable the battery saver (see next step below), add Locale X to the list, then re-disable the battery saver. If that doesn’t work, some users have reported that uninstalling and reinstalling Locale X will get the list to update properly.
Disable battery saver: When battery saver is enabled, location detection is blocked
- Open Android Settings
- Choose Battery and Device Care
- Make sure the option for “Power Saving Mode” is disabled
Disable adaptive battery
- Open Android Settings
- Choose Battery and Device Care
- Choose More battery settings
- Make sure the option for “Adaptive battery” is disabled
Disable battery saver automation
- Open Android Settings
- Choose Battery and Device Care
- In the top corner under the “…” menu, choose Automation
- Make sure that all automation options are turned off
Android 10
Disable Memory Cleaner
- Open Android Settings
- Choose Device Care
- Choose Memory
- Choose “Select apps to exclude”
- Choose Locale to exclude it from the memory cleaner
Disable battery saver: When battery saver is enabled, location detection is blocked
- Open Android Settings
- Choose Device Care
- Choose Battery
- Choose Power mode
- Select “Optimized”
- Uncheck the box for “adaptive power saving”
Disable app power management
- Open Android Settings
- Choose Device Care
- Choose Battery
- Choose App power management
- Choose “Apps that won’t be put to sleep”
- Choose Locale to exclude it from being paused
Disable auto restart: When Android reboots, Locale won’t run until you unlock the device with your passcode
- Open Android Settings
- Choose Device Care
- Choose “…” in the top right corner
- Make sure that Auto restart is turned off
Allow background activity
- Open Android Settings
- Choose Apps
- Find Locale in the list of apps
- Choose Use Details
- Make sure that “Allow background activity” is enabled
- Choose “Optimize battery usage”
- At the top, choose All
- Find Locale in the list and make sure the option for battery usage optimization is NOT checked
Android 9
Disable Memory Cleaner
- Open Android Settings
- Choose Device Care
- Choose Memory
- In the top right corner, tap on the “…” menu
- Choose “Apps That Aren’t Checked”
- At the bottom of the screen, select “Add” and choose Locale to exclude it from being closed
Disable battery saver
- Open the battery settings
- Choose Power mode
- Select “Optimized”
- Uncheck the box for “adaptive power saving”
OnePlus
Android 11
Allow Locale to Perform Wi-Fi scans
Enable Developer Mode
- Open Settings > About phone > Software information > Build number (or just Settings > About phone > Build number for some device models).
- Tap the build number 10 times until a message appears saying that Developer Mode is enabled.
Disable Wi-Fi Scan Throttling
- Open Settings > Developer options (or Settings > System > Advanced > Developer options for some device models).
- Find “Wi-Fi scan throttling”
- Turn Wi-Fi scan throttling off
Android 9
- Disable Battery Optimization: Go to Android Settings > Battery. Select Battery optimization. Find Locale and set to “Don’t Optimize.”
- Disable Deep Optimization: Go to Android Settings > Battery. Select Battery optimization. Under the … menu in the top right corner, choose “Advanced Optimization.” On the next screen, make sure that “Deep optimization” and “Sleep standby optimization” are turned off.
- Enable normal app management: Go to Android Settings > System. Tap on “Recent app management.” Choose “Normal clear.”
Oppo
- Go to Settings
- Go to Battery
- Go to Energy Saver
- Select Locale
- Make sure that “Background Freeze”, “Abnormal Apps Optimization”, and “Doze” are disabled.
LG
- Android 9
- Go to Android Settings
- Go to the General tab
- Go to Battery
- Select Power Saving Exclusions
- Make sure that Locale is excluded (also exclude any Locale plug-ins)
HTC
- Open the Boost+ app from the home screen
- Select Optimize background apps
- Select Locale
- Set optimization to off
Sony
- Go to Android Settings and disable Stamina Mode.
Wiko
- Open the “Telephone Administration” app on the home screen. Add Locale to the battery optimization whitelist.
- Open the Settings app. Under Devices, look for “Protected Applications” and add Locale to the list.