-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix unsupported operation error handling
This should fix issue #23. The status function call was returning an invalid buffer length on a system which apparantly does not support the battery health control features. This commit changes the driver to prevent it from loading in this case.
- Loading branch information
1 parent
2e57c4a
commit 4e605fb
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters