Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACPI/PM: Propagate power button event to user space when device wakes up #2

Closed
wants to merge 1 commit into from

Commits on Sep 17, 2024

  1. ACPI/PM: Propagate power button event to user space when device wakes up

    Sometimes power button does not wake up the systemm and we get suspends
    event right after that. Here Android needs to see KEY_POWER at resume.
    Otherwise, its opportunistic suspend will kick in shortly.
    
    However, other OS such as Ubuntu doesn't like KEY_POWER at resume.
    So add a knob "/sys/module/button/parameters/key_power_at_resume" for
    users to select.
    
    Signed-off-by: Kaushlendra Kumar <[email protected]>
    kaushlen committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    067478a View commit details
    Browse the repository at this point in the history