Closed dmitshur closed 8 years ago
This allows GetAll() to successfully return when there are no batteries on a OS X system (e.g., a desktop computer).
GetAll()
Previously, it would return an error unmarshaling the property list, since there wasn't one.
This allows
GetAll()
to successfully return when there are no batteries on a OS X system (e.g., a desktop computer).Previously, it would return an error unmarshaling the property list, since there wasn't one.