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

Only list battery devices #4

Closed
bmrussell opened this issue Oct 28, 2023 · 1 comment
Closed

Only list battery devices #4

bmrussell opened this issue Oct 28, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bmrussell
Copy link
Owner

Filter device list on message['payload']['deviceInfos'][0]['capabilities']['hasBatteryStatus'] to exclude non-chargable devices like wired keyboards.

@bmrussell bmrussell self-assigned this Oct 28, 2023
@bmrussell bmrussell added the enhancement New feature or request label Oct 28, 2023
bmrussell pushed a commit that referenced this issue Oct 28, 2023
- Exception when pc comes back from sleep #2
- DeviceID can change #3
- Only list battery devices #4
bmrussell pushed a commit that referenced this issue Oct 28, 2023
- Exception when pc comes back from sleep #2
- DeviceID can change #3
- Only list battery devices #4
@bmrussell
Copy link
Owner Author

Fixed v1.0.5

bmrussell pushed a commit that referenced this issue Oct 28, 2023
- Exception when pc comes back from sleep #2
- DeviceID can change #3
- Only list battery devices #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant