Prevent users from disabling mobile data on Android devicesSolved

Participant
Discussion
16 hours ago Feb 12, 2026

Is there a way to block users from disabling mobile data at the OS level on Android devices? We’re trying to ensure continuous reporting from the device.

Replies (3)

Marked SolutionPending Review
Hexnode Expert
8 hours ago Feb 13, 2026
Marked SolutionPending Review

Hey @leo_scott , at the moment, Hexnode cannot force mobile data to remain enabled on Android devices. What Hexnode can do is force Wi-Fi to remain enabled, but mobile data itself can’t be enforced.

 

Marked SolutionPending Review
Participant
6 hours ago Feb 13, 2026
Marked SolutionPending Review

Understood. Our concern is mainly around GPS reporting. 

We’ve already validated that: 

  • Users can’t enable Airplane mode 

  • Users can’t disable GPS 

However, if users are still allowed to turn off mobile data, GPS stops reporting location. That breaks the restrictions we’ve already set up. Is there any workaround for this? 

Marked SolutionPending Review
Hexnode Expert
4 hours ago Feb 13, 2026
Marked SolutionPending Review

I see what you’re trying to achieve. Unfortunately, this is a platform limitation. The Android (Google) API does not provide the ability to force mobile data to stay enabled. 

Hexnode can only allow or restrict access to mobile data—it cannot enforce it. As a workaround, you can configure policies to force Wi-Fi to always stay enabled, ensuring the device remains connected for reporting and management. 

Save