Windows iPhone Android Mac OS
[Root] GPS On / Off

[Root] GPS On / Off

Hzj_jie | September 21, 2016 | Tools
Downloads:
100+
Size:
Varies with device
Requires Android:
2.2 and up
Updated:
September 21, 2016
Developer:
Hzj_jie
You do not really need to root your device, but this app must be placed in /system/priv-app/ or /system/app/ for old OSes. It can be easily achieved by using a third party recovery. You can also use root explorer or some other file managers to move this app into the required folder on a rooted device. Otherwise it won't work.
So for your convenience, the APK can be directly downloaded at https://github.com/Hzj-jie/android-gps-onoff/raw/master/android-gps-onoff-release.apk.
This app installs two items in start menu, "Gps On" and "Gps Off". Each one does its job and quit. i.e. Enable GPS or disable GPS. Please refer to the first screenshot.
I am using this with https://play.google.com/store/apps/details?id=org.gemini.init, and turning GPS on / off when screen is unlock / off. Ex.
https://github.com/Hzj-jie/android-init/blob/master/sample/screen-on.sh
https://github.com/Hzj-jie/android-init/blob/master/sample/screen-off.sh
The benefit to disable GPS when screen is off is to extremely save power usage. The second screenshot shows the battery usage of my phone, it can last almost four days, and uses almost 0 battery during idle time.
But some of the features, such as Google Search app and Pokemon Go requires to query GPS regularly to do its location based work. Disabling GPS when screen off impacts their functionality. So it's a trade-off between battery usage and functionality.
This app requires only permission to set GPS settings.
Considering this APK is only 5 kilo bytes, I do not want an icon to enlarge it, so this app has no icon. The high resolution icon here in Google Play store is 16.4K.
This app is an open-source project, you can get the source code @ https://github.com/hzj-jie/android-gps-onoff.
** All the screenshots are coming from my phone. If you have copy-right to any of them, please kindly let me know. I will remove it. **
Write a review

User reviews

Don't miss interesting stories

The Gear VR controller is out now and costs $40

The Gear VR controller is out now and costs $40

News
Trim your videos on Android

Trim your videos on Android

Article
HTC confirms that its upcoming U phone will be squeezable

HTC confirms that its upcoming U phone will be squeezable

News
Xiaomi's $365 Mi 6 is now available on the market

Xiaomi's $365 Mi 6 is now available on the market

News
Meet the great Pokémon Go summer event

Meet the great Pokémon Go summer event

Article
Messenger gets QR codes support, a game tab and more

Messenger gets QR codes support, a game tab and more

News
S8's Bixby button can no longer be remapped

S8's Bixby button can no longer be remapped

News
Google Photos now offers video-stabilization capabilities

Google Photos now offers video-stabilization capabilities

News
Get access to your Android smartphone using AirDroid

Get access to your Android smartphone using AirDroid

Article
Chrome now provides WebVR support for Google Cardboard

Chrome now provides WebVR support for Google Cardboard

News

More from Hzj_jie

Add Google Account Trigger
Add Google Account Trigger
** You do not need this app unless you are using a China phone, without 'Add a Google...
Launch Google Settings
Launch Google Settings
** You do not need this app unless you are using a China phone, without 'Google Settings'...
Media Scanner - update gallery
Media Scanner - update gallery
This is a small tool to force Android to scan public media directories, and recovery...
Event based script runner
Event based script runner
If you do not know what is an sh script, expect there is a step by step instruction to...
Change Ringer Mode
Change Ringer Mode
This is a small application to provide three start menu items to change ringer mode...
Wallpaper changer
Wallpaper changer
If you do not know script, am and intent, you may stop here to avoid wasting time, this...
Wifi On / Off
Wifi On / Off
This app adds two shortcuts in launcher to turn wifi on / off. I am using this with...