Skip to content
Commit 4b082ac6 authored by lecopzer@gmail.com's avatar lecopzer@gmail.com Committed by Sebastian Reichel
Browse files

test_power: Add CHARGE_COUNTER properties



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

Set default as -1000 is because the default status is
POWER_SUPPLY_STATUS_DISCHARGING, which means the counter should be
negative, and 1000 means not zero but small enough.

Signed-off-by: default avatarLecopzer Chen <lecopzer.chen@mediatek.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 54ecb8f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment