Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sbs-battery: make writes to ManufacturerAccess optional
According to the Smart Battery Data Specification, the use of ManufacturerAcess (register 0x0) is implementation-defined. It appears that some batteries use writes to this register in order to implement certain functionality, but others may simply NAK all writes to it. As a result, write failures to ManufacturerAccess should not be used as an indicator of battery presence, nor as a failure to enter sleep mode. The failed write access was seen with SANYO AP13J3K. Cc: Brian Norris <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
- Loading branch information