Skip to content

fix(gyro): close the motion sensors while the system sleeps - #97

Open
dbarth wants to merge 1 commit into
hashtagbasit:mainfrom
dbarth:fix/gyro-sleep
Open

dbarth wants to merge 1 commit into
hashtagbasit:mainfrom
dbarth:fix/gyro-sleep

Conversation

@dbarth

@dbarth dbarth commented Nov 7, 2026 •

Copy link
Copy Markdown

What changed

qcom-motion streams the IMU at 100 Hz during sleep. Close the sensors on sleep and reopen them on wake: the ADSP goes from 100 wakes a second to under 5 a minute.

Device tested on

Odin 2 Portal, SteamOS ARM 1.4, kernel 7.2.8. Not tested on current main, 7.4 or the Thor.

How it was tested

Ran the patched qcom-motion on the Odin and read the ADSP wakes in sleep-stats.

@github-actions github-actions Bot added the kernel Kernel changes label Nov 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel Kernel changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant