print the state of the battery in MacOSX
Bug #1289758 reported by
Kosuke Asami
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I have written a patch that prints the state of the battery in Mac OS X.
This patch is the stuff against trunk.
In Mac OS X, there is no /sys/* and /proc/* file, so we should use 'ioreg' that shows I/O kit registry.
This patch parses outputs from ioreg and displays the result.
Changed in byobu: | |
importance: | Undecided → Wishlist |
Changed in byobu: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the patch!
I don't have a Mac to test this, but I've eyeballed the patch, and it looks reasonable, and shouldn't get in the way of Linux users, so I'm applying it as is. Please do test byobu 5.75 and verify that it works ;-)
Thanks!