Skip to content

S922X: batteryplus#2895

Draft
porschemad911 wants to merge 1 commit into
ROCKNIX:nextfrom
porschemad911:s922x-batteryplus
Draft

S922X: batteryplus#2895
porschemad911 wants to merge 1 commit into
ROCKNIX:nextfrom
porschemad911:s922x-batteryplus

Conversation

@porschemad911

@porschemad911 porschemad911 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

S922X: add batteryplus package for better battery capacity reporting

Testing

Tested on my OGU with wearing battery, will test with a fresh battery when it arrives

Additional Context

Source code here: https://github.com/Mikhailzrick/knubat.components/blob/main/BatteryPlus/batteryplus.cpp

Will require an ES change to read battery percentage from /tmp/battery.percent on S922X

Kernel driver overestimates capacity, then suddenly drops to zero under heavy load. This smooths out the curve significantly


AI Usage

Did you use AI tools to help write this code? NO

@porschemad911 porschemad911 marked this pull request as draft June 21, 2026 22:27
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.

1 participant