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

feat: add battery_percentage to bluetooth devices #141

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ojaskavathe
Copy link

@ojaskavathe ojaskavathe commented Nov 26, 2024

Fixes #138

Using the Bluez Battery API to add battery_percentage to bluetooth devices.

Can be used through:

let mydevice = devices.get()[0]; // or map etc.
let battery = bind(mydevice, "battery_percentage");

@ojaskavathe
Copy link
Author

Is anything else needed on this? @Aylur

@ojaskavathe
Copy link
Author

@Aylur still waiting on a response.

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.

Bluetooth Battery Levels
1 participant