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

Fixed detecting not present/unknown battery level for FastPair #96

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

steam3d
Copy link
Contributor

@steam3d steam3d commented Apr 21, 2024

The zero ordinal bit must be ignored, since it is responsible for charging status. The battery, not present or unknown on when 1-7 bits are units.

Source:
https://developers.google.com/nearby/fast-pair/specifications/extensions/batterynotification

image

@TheWeirdDev
Copy link
Owner

Seems correct. Thank you.

@TheWeirdDev TheWeirdDev merged commit 68c0862 into TheWeirdDev:master Apr 21, 2024
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.

None yet

2 participants