Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power: supply: max17042_battery: use VF SOC register for capacity pro…
…perty The capacity property uses the RepSOC register to report the current state of charge. This register did not provide a reliable SOC value during my testing with the max17047 variant on a Galaxy S3 (Trats2/GT-I9300). The reported value did not change or even stayed 0 in some cases. However, the VF SOC register provided an accurate SOC value at all times. It uses the voltage fuel gauge to determine the SOC. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
- Loading branch information