Android turns the screen on and unlocks the phone when connecting or disconnecting from a charger. The SnooZy app takes care of this problem. I often use my phone for a minute, lock the screen, and then place it on a wireless charging plate. The phone then takes two–five seconds to start charging. When it does start, it unlocks the screen and turns it back on again to notify me that it started charging. So I have to put it down, stand there and wait for it to do its thing, and then turn the screen back off again. Annoying, right?
Every now and then, I solve a problem that have irritated me over some time. Today is one of those times.
Quoting my own answer to this problem on Stack Exchange’s Android Enthusiasts forum:
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.
The app is great, though the user interface could need more work. I found the settings very unclear and had to test each of them to find out what they actually did. I spent ten minutes with the app’s strings and sent off a pull‐request to the developer. Another noteworthy issue is #3: the screen will turn off when disconnecting a charger even when there is an incoming call. Making it frustrating to interact with the touch‐screen to answer the call.