When I plug charger into my phone with screen off, it always turns the screen back on. This is slightly annoying at night. Is it possible to configure android so that the screen stays off and charging is only indicated via charging led? I have an HTC Desire.

  • On my samsung galaxy S there is a timeout setting for the screen on the settings menu. You have to set the timer from infinite to some period while charging. – Barfieldmv Apr 14 '11 at 11:01
  • 1
    For my Droid, anyway, I just tap the power button to turn the screen back off. – ale Apr 14 '11 at 13:01
  • Seems like that's the only solution so far. – VoY Apr 14 '11 at 14:17
  • 1
    I was bit by this last night. I have my screen set to go off after a minute of inactivity. However, for some reason my charger kept dropping out and in my logs I see that the screen came on 86 times. – Michael Oct 11 '13 at 20:19
  • 4
    @AI E.: Every time I plug my phone in, I want the screen off, not on. That means every time I plug my phone in, I have to "just" tap my screen. Also, sometimes I have a flaky USB connection, so the charge keeps turning on and off; the screen then keeps coming back on, draining my battery. (Like Michael just stated happened with him.) – Jay Sullivan Aug 23 '14 at 20:23
up vote 8 down vote accepted

SnooZy Charger (also in the Play Store) takes care of this. The free app (as in beer and speech) that lets you manage behavior during charger connection and disconnection.

It requires no permissions, but does require you giving it device admin permissions. These permissions are only used for to control device locking, as verifiable in its source-code. From quickly going through the app’s source-code, it looks totally harmless and benign.

If the app does not behave as you want, make sure to go through the Settings. For example, “Turn off screen only when locked” is enabled by default. This means that the app will not kick into effect if you have an on/off-button-press-lock delay or other related settings.

It works perfectly for my on a wireless charging pad and with micro-USB cable using a LG Nexus 4 device. I am very satisfied.

Update: I documented additional issues here.

  • 1
    Bears are dangerous, not free! But seriously, this app is pretty close. Doesn't actually keep screen off, it just immediately shuts it off. One minor bug seems to be that when you unplug the phone, the screen stays off, but the buttons turn on and stay on. – Cerin Apr 17 '14 at 14:49
  • 5
    I wouldn't say this app behaves "perfectly", although it's better than nothing. The screen still turns on, then quickly turns back off--obviously more of a workaround than a fix. Annoyingly, on my phone still does the silly "USB icon at the bottom that shifts your screen up", which I really just want to disable altogether. – Jay Sullivan Aug 23 '14 at 20:33
  • I've used this app for some time but eventually uninstalled it. It was sometime turning my screen off when I when I was turning it on, and sometime twice in a row, not sure when or why, but this was quite annoying. What it's doing is more of a hack anyway. – this.lau_ Sep 2 '15 at 11:51
  • I am from Brazil and I can't install it. I get this: "Sorry! This content is not available in your country yet. We're working to bring the content you love to more countries as quickly as possible. Please check back again soon." WTF. :( – MarcG Mar 15 '17 at 21:33

Do you happen to have enabled Settings > Application > Development > Stay Awake (screen will never sleep when charging)?

  • 2
    This is the same as Matt H's (now deleted) answer ... OP's comments was "The problem is not that I cannot turn the screen back off. I want it to not go on in the first place. Seems like that's not possible, sadly :-(". – Matthew Read Apr 14 '11 at 13:17

I am not creator of this app, but it works for me (HTC Desire Z). I have not tested it well yet, though.

  • So apparently it is possible without a kernel change. I wonder what API call is used to implement this... – Michael Oct 11 '13 at 20:20

I think you would need a custom kernel with this "feature" removed. I don't know of any, sadly.

  • 3
    This not a useful answer. If you don't know, please don't submit an answer saying only that. Besides, as others have mentioned, this is flat-out wrong anyways... – Cerin Apr 17 '14 at 14:46
  • 1
    @Cerin I'm afraid none of the other answers work for many devices and a custom kernel is indeed required. The answer is accepted, so please talk to the OP about how non-useful it is. – Matthew Read Apr 17 '14 at 20:35
  • This answer is indeed wrong. The SnooZy Charger app mentioned below works just fine, probably on most phones, and doesn't require a custom kernel. – this.lau_ Jul 9 '14 at 17:11

As far as I can see, the only way to archive this behaviour is to switch from stock android to CyanogenMod - which does have this feature built in (under "Display & lights" menu in preferences, disable the option "Wake on plug")

I'm also searching for a solution on stock android, but it seems like that's the only way. Too bad one has to change ROM just for this feature...

There is an app by mitskiP called Screen Stay Off. I've used it for a year and it works nicely. My only criticism is that the screen turns on briefly, then turns off.

The only way I see is flashing CyanogenMod - there's a default feature for that. Don't know if this is available for HTC Desire, though.

I had a similar issue and fixed it by first turning on "developer mode" then deselecting "Stay awake" under Settings / Developer Options. Turn on developer mode by going to Settings / About Device, then touch/tap on "Build number" seven (7) times. Once developer mode is on, go to Settings / Developer Options, and deselect "Stay awake". This resolved the problem for me. Keep in mind that each android phone is slightly different in where "About Device" is located, but it is in the Settings section. Go there and tap "Build number" seven times to turn on Developer mode.

  • 1
    Stay Awake keeps the screen on all the time, and is not enabled by default. – Kyle Strand Aug 24 '17 at 4:22

If you install Xposed, this module has an option to prevent the screen from waking when plugging into a charger: http://repo.xposed.info/module/com.smartmadsoft.xposed.aio

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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