From 192d510128470c15c8371efd560929e34df87532 Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Wed, 31 Aug 2016 16:07:30 -0700 Subject: power_supply: add two properties for step charging STEP_CHARGING_ENABLED indicates if step charging is enabled or not. STEP_CHARGING_STEP reflects step charging phase. Both properties are added for the purpose of testing and debugging. CRs-Fixed: 1052854 Change-Id: I7d7517ab3f172016bb2f1c23fb2788bbd2d01086 Signed-off-by: Harry Yang --- include/linux/power_supply.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/power_supply.h b/include/linux/power_supply.h index 56e78254286e..03853d956b41 100644 --- a/include/linux/power_supply.h +++ b/include/linux/power_supply.h @@ -176,6 +176,8 @@ enum power_supply_property { POWER_SUPPLY_PROP_USB_OTG, POWER_SUPPLY_PROP_BATTERY_CHARGING_ENABLED, POWER_SUPPLY_PROP_CHARGING_ENABLED, + POWER_SUPPLY_PROP_STEP_CHARGING_ENABLED, + POWER_SUPPLY_PROP_STEP_CHARGING_STEP, POWER_SUPPLY_PROP_PIN_ENABLED, POWER_SUPPLY_PROP_INPUT_SUSPEND, POWER_SUPPLY_PROP_INPUT_VOLTAGE_REGULATION, -- cgit v1.2.3