test_power: Add CURRENT properties
authorlecopzer@gmail.com <lecopzer@gmail.com>
Thu, 12 Sep 2019 18:26:00 +0000 (02:26 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 10 Oct 2019 16:32:49 +0000 (18:32 +0200)
commit69318b399569e3b03f7e6dcaac41c0ed348913a2
tree76d56fb99da66a8b066f7a3acbdc23c72273d69a
parent4b082ac6b7687d564065cdb65393b8d1ed5e1a03
test_power: Add CURRENT properties

CURRENT is really general in other battery drivers,
Android also has an interface to monitor CURRENT, so let's
add it into test framework.

The default value (1.6A) is just a random but reasonable value.

Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/test_power.c