56

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?

4
  • 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.) Aug 23 '14 at 20:23
9

SnooZy Charger 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 to give it the device admin permissions. These permissions are only used 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 a micro-USB cable using an LG Nexus 4 device. I am very satisfied.

I also documented additional issues here.

4
  • 2
    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. Aug 23 '14 at 20:33
  • 1
    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
6

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

1
  • 6
    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 :-(". Apr 14 '11 at 13:17
3

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.

2
  • Do you know how does this feature work on CyanogenMod/LineageOS? Sep 1 '20 at 3:36
  • LineageOS has the same option.
    – user598527
    Mar 1 at 15:36
2

If you install Xposed, All My... module has an option to prevent the screen from waking when plugging into a charger.

1

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.

0

Try using these two in harmony:

It worked for me.

1
  • Looks like Sony's Smart Connect has been taken off from Play Store. Will this approach still work without it?
    – Andrew T.
    Sep 24 at 8:48
0

Having the "Ambient mode" on turns the screen on while charging, even if the option "Settings > Application > Development > Stay Awake (screen will never sleep when charging)" is off.

You need to turn the "Ambient mode" off as well.

I would not suggest to install further applications only for that, while you can do the trick directly from Android.

-2

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
  • 3
    Stay Awake keeps the screen on all the time, and is not enabled by default. 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.