Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,440 Members 50,710 Now Online
XDA Developers Android and Mobile Development Forum

OTG Power Lock

Tip us?
Angelus89's Avatar
Member - OP
Thanks Meter 25
Posts: 58
Join Date: Sep 2012
Location: Sydney
Default OTG Power Lock

Hey Guys,

Ive written a small app that will prevent your Device from putting your "mounted" OTG Device to sleep. This was an issue for me because my Nexus 7 would put my Mini Micro SD Reader (, to sleep and wouldn't re-power it when the device was woken up.

Its uploading to Google Play, but ive attached it to this post aswell.

Please give me some feedback guys, and Ill try to address any issues you find.

Thanks :victory:

XDA:DevDB Information
OTG Power Lock, a Tool/Utility for the Nexus 7 (2013)


Version Information
Status: Alpha
Current Stable Version: 1.0
Stable Release Date: 2013-09-28

Created 2013-09-27
Last Updated 2013-09-27
The Following 6 Users Say Thank You to Angelus89 For This Useful Post: [ Click to Expand ]
Thanks Meter 2
Posts: 75
Join Date: May 2013
i am getting up to the news right at the moment .. so going to give it a try to see how good it is .. off course, i will post my response once find it good
le grande magnetto
le grande magnetto's Avatar
Senior Member
Thanks Meter 1229
Posts: 939
Join Date: Jan 2012
That card reader looks awesome, could you tell me where could I order it?


Xperia SP 5303 BLACK
Xperia LWW - sold.
(Last edited by z31s1g; 30th September 2013 at 01:14 PM.)
z31s1g's Avatar
Senior Member
Thanks Meter 3937
Posts: 1,457
Join Date: Jul 2010
Location: Munich

Originally Posted by le grande magnetto View Post
That card reader looks awesome, could you tell me where could I order it?


Corresponding thread
The Following 2 Users Say Thank You to z31s1g For This Useful Post: [ Click to Expand ]
BladeZero's Avatar
Senior Member
Thanks Meter 249
Posts: 866
Join Date: Apr 2012
Location: Joberg
I haven't tested the app as I don't have an otg card reader yet but a concern which u may of put into the app is, for battery life's sake can u turn the power on and off to the reader.

Sent from my Nexus 7 (2013) using XDA Premium [HD], for the man who wants to use the best tablet screen ever made.
If you found my post helpful hit THANKS
PJ Clifford
Senior Member
Thanks Meter 18
Posts: 123
Join Date: Jan 2013
Location: Central Illinois
Well, thanks for the effort, but it didn't work on my N7. I am stock, rooted. Basically, no change. As soon as the tablet slept, the activity light on the reader went out. Waking it up, the light did not come back on. I tried copying a file from the reader and it errored out. I started, then tried stopping the service in your app, then restarting it. It still didn't work.

Did I miss anything?
PJ Clifford
Senior Member
Thanks Meter 18
Posts: 123
Join Date: Jan 2013
Location: Central Illinois
Has there been anything further on this? I would really love to see this working.
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Oct 2010
This was absolutely perfect for me! I was searching for this a long time.
Angelus89, i am developing a app that needs to keep the OTG on full time, but i can't start your service from my app.
It's possible to tell how can i implement this on my app ?

Thank you very much!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more

Android 4.4.3 Begins Rolling Out to European HTC One M8

Shortly after the USA Unlocked and Developer Editions of the HTC One M8 received the … more