diff options
| author | Yuanjiang Yu <yuanjiang.yu@unisoc.com> | 2018-12-06 11:20:39 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-12-06 22:24:39 +0100 |
| commit | 4a040e7c72e6bd2ffc023ecca31e336aec9dbb87 (patch) | |
| tree | 421ae0e37b05a282fa6083d92bbc666b47d4f756 /lib/test_string.c | |
| parent | caa6e150f8fbcf4011cb7f3b30448f1b1de63b4f (diff) | |
power: supply: sc27xx: Save last battery capacity
Our charger manager can optimize the battery capacity periodically, so
we can save last battery capacity into registers. Then next system
power-on, we can read the last saved battery capacity as the initial
battery capacity, which can make the battery capacity more accurate.
Signed-off-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'lib/test_string.c')
0 files changed, 0 insertions, 0 deletions
