Ask / Submit

mce_display_on prevents suspend

asked 2018-05-19 05:31:45 +0300

Thaodan gravatar image

I try to find what prevents my device from suspending. When I look in /sys/power/wake_lock it contains:


Which application creates this wake lock and how can I prevent this?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2018-05-21 10:25:16 +0300

spiiroin gravatar image

@Thaodan: That wakelock is basically indication that the device is in a state where it should not suspend - like: booting up, shutting down, handling call state changes, display state, touch input state, handling sw updates, compositor service not running, having settings that deny device from suspending, ...

It is also released via timeout rather than explicit unlock action and some kernels do not handle this correctly i.e. in some devices it always shows up when polling via /sys/power/wake_lock whether it is actually active or not. Though IIRC that is not the case with xperia x.

For somewhat related info, see for example:

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2018-05-19 05:31:45 +0300

Seen: 163 times

Last updated: May 21 '18