I have an HTC Desire. 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?

  • 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
  • Just my thought: my Samsung Galaxy S used to do this too when it was running Android 2.1 and 2.2. But it doesn't do that anymore now that I am running 2.2.1. I can't recall uninstalling any application so to my experience, it was the upgrade which solved this. And be sure to turn your wifi off too. – Edelcom Apr 14 '11 at 16:05
  • 7
    @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

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.

| improve this answer | |
  • 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. – laurent 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)?

| improve this answer | |
  • 5
    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.

| improve this answer | |
  • 1
    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

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...

| improve this answer | |
  • Do you know how does this feature work on CyanogenMod/LineageOS? – Alexander Abakumov Sep 1 at 3:36

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.

| improve this answer | |

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

| improve this answer | |

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.

| improve this answer | |

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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