diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-01-20 16:50:24 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | 2018-01-22 19:53:35 +0300 |
commit | 6e5ab19d54e8cd7bdc779db0b807403558dbea62 (patch) | |
tree | 19ee5d7dd4f309f99d453a70fd866fbff5da8146 /mm/nommu.c | |
parent | 8be4c3667cf117b8f8a2b0b73a34258d45992867 (diff) | |
download | linux-6e5ab19d54e8cd7bdc779db0b807403558dbea62.tar.xz |
power: supply: max17042_battery: Check battery current for status when supplied
Even though the system is supplied, it may still be discharging if the
supply is e.g. only delivering 5V 0.5A. Check the avg battery current if
available for more accurate status reporting.
Cc: James <kernel@madingley.org>
Suggested-by: James <kernel@madingley.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'mm/nommu.c')
0 files changed, 0 insertions, 0 deletions