Many smartphone owners who audit installed applications or analyze battery consumption are faced with an incomprehensible item in the list of system processes called LocationEM2. The appearance of an unknown name often raises a natural concern: is it a virus, spyware, or a hidden miner that is quietly consuming device resources. However, in the vast majority of cases, this component is a legitimate part of the operating system Android, which is responsible for the operation of geolocation services.
In this article we will analyze in detail the nature of this process, its functionality and impact on the performance of the gadget. You will learn in what situations its activity is considered normal, and when it is worth sounding the alarm and looking for malware. We will also look at safe methods for managing this service without the risk of disrupting the stability of the entire system.
Technical purpose of the LocationEM2 process
The abbreviation in the name of the process gives a direct hint about its function: Location indicates working with location, and EM often stands for Event Manager or Entity Manager. Essentially, this is a system daemon that acts as an intermediary between physical geolocation modules (GPS, Wi-Fi, cell towers) and applications that request coordinates. It optimizes requests so as not to turn on the GPS module every time again, thereby saving energy.
Unlike the standard service com.android.location.provider, the component LocationEM2 is often found on devices with custom shells from Chinese manufacturers, such as Xiaomi, Oppo or Vivo. It provides background location detection even when the screen is off, which is necessary for local time alarms, geotagging photos, and updating social media feeds.
It is important to understand that this process does not have a user interface. You won't find its icon on your desktop and you won't be able to launch it manually. Its operation is fully automated and regulated by energy saving policies embedded in the firmware of your smartphone. Disabling this component may result in maps and navigation not working correctly.
The LocationEM2 process is the system core for geolocation on many devices, and removing it may result in a complete failure of location services.
If you see high battery drain from this process, try calibrating the compass in the Maps app first before disabling location services.
Why does a process consume battery power
One of the most common causes of concern for users is the high percentage of energy consumption that is displayed in the battery statistics for this process. This is because the GPS module is one of the most power-hungry components of a smartphone. If LocationEM2 actively running, this means that some application is constantly requesting your coordinates with high accuracy.
Often the culprits are not the system services themselves, but third-party applications that are incorrectly programmed and do not release GPS capture after use. For example, an application for ordering a taxi or food delivery may continue to poll satellites even after the trip is completed if the developers did not provide the correct life cycle for the process. As a result LocationEM2 you are forced to keep the module turned on.
Use scenarios are also worth considering. If you are in an area of โโpoor signal reception (basement, dense buildings), the smartphone tries to compensate for the loss of the GPS signal with data from Wi-Fi and cell towers. The process LocationEM2 at this moment works in enhanced mode, constantly scanning the air, which leads to rapid battery drain.
- ๐ Constant access: Applications have permission to use geodata "Always", and not "Only when used".
- ๐ก Bad signal: The device spends more energy on searching satellites in urban areas or indoors.
- โ๏ธ System failures: An error in the operation of the modem or GPS chip drivers, requiring a device reboot.
Is LocationEM2 a virus or spy
The file itself with the name LocationEM2 or the process with that name is not malware. It is a standard component of the Android architecture for certain vendors. However, hackers and virus creators often disguise their creations as system processes to avoid detection by the user and anti-virus scanners.
To distinguish a legitimate system process from a masquerading virus, you need to pay attention to the path to the executable file. A real system service is usually located in protected sections of the system, such as /system/bin or /system/priv-app. If you see a process with a similar name, but launched from a folder /data/data or temporary directory, this is a reason for a serious check.
An indirect sign of infection can be the behavior of the device. If LocationEM2 active when all location services are disabled, or if the phone starts to heat up in airplane mode, this may indicate malware activity. In such cases, it is recommended to scan the device with a reliable antivirus, for example Dr.Web or Kaspersky.
โ ๏ธ Attention: Never download files called "LocationEM2.apk" from third-party sites. System components are updated only through official OTA firmware updates or Google Play services. Installing such files manually is almost guaranteed to lead to infection of the device.
Is it possible to disable or delete the process
Users often wonder if it is possible to get rid of this process in order to save battery power. The answer depends on the access rights you have. On a regular, non-rooted device, the "Disable" or "Delete" button for system processes is often grayed out (grayed out). This is done by the manufacturers to protect the stability of the OS.
If you try to forcibly stop the process through the developer menu or ADB command, the system will most likely automatically restart it the next time you request geodata from any application. Moreover, aggressive termination of system daemons can lead to a cyclic reboot of the smartphone or errors in the operation of the interface.
For advanced users with root access, it is possible to completely freeze or remove the component using utilities like Titanium Backup or System App Remover. However, doing this is highly discouraged if you do not understand the consequences. Disabling the location manager will make it impossible to use maps, weather widgets and device search functions.
pm disable-user --user 0 com.android.locationEM2
The above ADB command can disable the process for the current user, but this is a temporary solution. When resetting the settings to factory settings (Factory Reset), the process will return to the active state. A safer method is not to delete it, but to limit background activity.
What will happen if you completely delete it?
If you delete the LocationEM2 system file with superuser rights, applications that depend on geolocation will begin to crash with an error at startup. Automatic time zone change and the Find My Device function may also stop working.
How to limit background activity and battery consumption
Instead of taking drastic measures to delete system files, it is much more effective to configure permissions for applications that use geolocation. Modern versions of Android (from 10 and above) provide flexible tools for access control. You can prevent applications from accessing coordinates in the background, leaving it available only when the application is open on the screen.
To do this, you need to go to the settings, find the "Applications" section and select the specific suspicious application. In the permissions menu, find the "Location" option and change the value from "Always allow" to "Allow only while in use." This action will significantly reduce the load on the process LocationEM2.
It is also worth checking the location accuracy settings. In the menu Settings โ Location โ Mode you can select the option โBy network coordinatesโ instead of โBy all sourcesโ. This mode uses Wi-Fi and mobile networks to roughly determine a location, which uses significantly less power than constantly polling GPS satellites.
โ๏ธ Geolocation optimization
| Operation mode | Accuracy | Battery consumption | Use |
|---|---|---|---|
| High accuracy | Up to 5 meters | High | Navigation, taxi |
| Battery saving | Up to 1 km | Low | Weather, news |
| Device only | Depends on GPS | Average | Hiking, forest |
| Disabled | No | Minimum | Complete privacy |
Diagnosing problems and resetting settings
If the process LocationEM2 continues to consume battery abnormally even after setting permissions, there may be a failure in the Google Play system services cache. In this case, cleaning data from geolocation services helps. This is a safe procedure that will not delete your personal files, but will reset your location settings.
Go to Settings โ Applications โ Show system processes. Find "Google Play Services" and "Google Play Store" in the list. For each of them, select "Storage" and click the "Clear cache" button. In some cases, it may be necessary to clear the data, but this will reset some synchronization settings.
As a last resort, if the problem is global and affects the entire operation of the smartphone, you can reset the network settings. This will delete saved Wi-Fi passwords and Bluetooth settings, but often solves problems with communication and geolocation modules freezing. The path to this function is usually located in the section System โ Reset settings โ Reset Wi-Fi, mobile data and Bluetooth settings.
โ ๏ธ Attention: Before performing a full factory reset, be sure to create a backup copy of all important data, as this procedure will delete all applications and files from the internal memory of the device.
The most effective way to combat high battery consumption by the LocationEM2 process is to revoke "Always" permissions from third-party applications, rather than disabling the system service itself.
Is it possible to completely remove LocationEM2 without root access?
Without superuser rights (Root) it is impossible to completely remove a system process. You can only limit its background activity through battery settings or revoke permissions from apps that use it. Attempts to bypass this limitation through ADB are temporary.
Why is the process active when GPS is turned off?
Even when GPS is turned off, the process can use triangulation across cell towers and Wi-Fi access points to determine an approximate location. This is necessary for the operation of emergency services and some system functions, and requires a minimal amount of energy.
Does LocationEM2 affect the speed of the smartphone?
The process itself does not affect the speed of the interface. However, if it gets stuck in a loop of constantly searching for a signal due to a glitch, it can put a strain on the processor and cause the system to lag. In this case, simply rebooting the device helps.
Is it safe to deny access to geolocation for all applications?
This is safe for the system, but inconvenient for the user. Navigators, maps, taxi and delivery applications, as well as weather widgets will stop working. The camera will also stop adding geotags to photos. It is recommended to configure access individually for each application.