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

New module: display the battery percentage of attached devices #1108

Closed
senorprogrammer opened this issue Sep 23, 2021 · 0 comments · Fixed by #1122
Closed

New module: display the battery percentage of attached devices #1108

senorprogrammer opened this issue Sep 23, 2021 · 0 comments · Fixed by #1122
Assignees
Labels
💥 feature "Good luck, you're gonna need it."

Comments

@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Sep 23, 2021

What should it do?

If the computer has attached bluetooth devices with batteries in them, display the battery charge percentages.

❯ ioreg -c AppleDeviceManagementHIDEventService -r -l | grep -i trackpad -A 20 | grep BatteryPercent

❯ ioreg -c AppleDeviceManagementHIDEventService -r -l | grep -i keyboard -A 20 | grep BatteryPercent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 feature "Good luck, you're gonna need it."
Development

Successfully merging a pull request may close this issue.

1 participant