Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix darwin battery info field selection
The batterydarwin function looks for the info it wants using field numbers that are off by one on the current version of Mac OS. I'm not sure which version this changed in or what exactly they added (I suspect it is the battery ID), but this patch makes battery info start working again.
- Loading branch information