Skip to content

Add systemd config fragment to disable power key handling#254

Draft
vkraleti wants to merge 1 commit intoqualcomm-linux:mainfrom
vkraleti:powerkey
Draft

Add systemd config fragment to disable power key handling#254
vkraleti wants to merge 1 commit intoqualcomm-linux:mainfrom
vkraleti:powerkey

Conversation

@vkraleti
Copy link
Copy Markdown
Contributor

@vkraleti vkraleti commented Apr 3, 2026

Add a systemd-logind configuration fragment to ignore
power key events. This prevents systemd-logind from
triggering power-off actions when the power key is pressed.

Add a systemd-logind configuration fragment to ignore power key events.
This prevents systemd-logind from triggering power-off actions when the
power key is pressed.

Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
@ricardosalveti
Copy link
Copy Markdown
Contributor

Isn't this the expected behavior? It is the power button after all.

Copy link
Copy Markdown
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not without a good reason

@vkraleti
Copy link
Copy Markdown
Contributor Author

vkraleti commented Apr 5, 2026

Created this as a reference change for testers to replicate the behavior. Will move it to ready when I know the actual reason for this ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants