Screens wakes up right after timeout for no apparent reason
0
votes
1
answer
691
views
There's a strange situation on my new phone where as soon as the screen turns off due to inactivity, it wakes up again by itself after a couple of seconds. (However, if I turn it off manually, it stays off.)
I noticed that this stops when I disable "Wake screen for notifications". However, there are no notifications coming in when this happens or even an active notification that can be dismissed but hasn't; the display just wakes up at a very regular, short interval after it goes to sleep.
Other similar problems I found mentioned on the Web don't seem relevant; e.g.,
- it happens even if the device is not moving (but "Lift to check phone" is off just in case).
- "Screen attention" is off
**Question**:
I would like to stop this from happening but still have the display wake up when an actual notification comes in. Any ideas / previous experience? If not, is there a way to find out exactly what's causing it to wake up?
**Device details**:
- Pixel 6 Pro
- Lineage 20-20230331-NIGHTLY-raven (Android 13)
**UPDATE**
I found what seem like the most relevant entries from logcat at the time of waking up: https://pastebin.com/yUCqFegF
Specifically, some of the entries have
reason=WAKE_REASON_GESTURE
, which seems to suggest (I couldn't find an explicit description/definition online) that a "gesture" is responsible for waking up the display.
However, the device is not moving and I'm not touching it or even near it when this happens. Also, it sounds to me that this is not really consistent with the fact that this behaviour stops when I disable "Wake screen for notifications".
From the UID (10204), it appears that com.android.systemui
is the offending package:
$ adb shell pm list packages --uid 10204
package:com.android.systemui uid:10204
Here's a screenshot of the Gestures settings for reference:

Asked by Ratler
(146 rep)
Jun 1, 2023, 03:53 AM
Last activity: Jun 19, 2023, 08:14 AM
Last activity: Jun 19, 2023, 08:14 AM