diff options
| author | Yuanjiang Yu <[email protected]> | 2019-07-31 10:00:25 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2019-09-02 20:49:49 +0000 |
| commit | 7384b0e7668f722fcf7abe56f61a7212debd0180 (patch) | |
| tree | ddc1fa4eea24ad54b3c71ea2258a30d2f302336d /security/selinux/netnode.c | |
| parent | power: supply: sc27xx: Fix conditon to enable the FGU interrupt (diff) | |
| download | kernel-7384b0e7668f722fcf7abe56f61a7212debd0180.tar.gz kernel-7384b0e7668f722fcf7abe56f61a7212debd0180.zip | |
power: supply: sc27xx: Fix the the accuracy issue of coulomb calculation
The Spreadtrum fuel gauge will multiply by 2 for counting the coulomb
counter to improve the accuracy, which means the value saved in fuel
gauge is: coulomb counter * 2 * 1000ma_adc. Thus fix the conversion
formular to improve the accuracy of calculating the battery capacity.
Signed-off-by: Yuanjiang Yu <[email protected]>
Signed-off-by: Baolin Wang <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
