Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I develop for my Samsung Galaxy S II, the screen locks as usual after the configured time. However, for development it would be practical if the phone would just stay awake while it is connected to my computer.

So, How do I disable the lock-screen when my Samsung Galaxy S II is charging/connected via USB?

Question: Display On when plugged in is not a duplicate, as this solution does not work on the Galaxy S II. Unfortunately.

share|improve this question
@Al Everett: Solution from "duplicate" does not work on Galaxy S II. I am looking specifically for solutions anybody may have found on the Galaxy S II. Please reopen? – bjarkef Sep 13 '11 at 10:50
Carriers and OEMs really need to stop messing with basic settings like this. – Al E. Sep 13 '11 at 13:10
up vote 6 down vote accepted

Try the app StayAwake, it should work for Galaxy S II too.

share|improve this answer
Works like a charm. Thanks. – bjarkef Sep 14 '11 at 6:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.