Ask / Submit
1

mce_display_on prevents suspend

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

Thaodan gravatar image

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

mce_display_on

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
1

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

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: https://together.jolla.com/question/111307/11928-heavy-battery-drain-even-in-stand-by/?answer=111324#post-id-111324

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

Question tools

Follow
4 followers

Stats

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

Seen: 161 times

Last updated: May 21