|
|
@@ -102,9 +102,11 @@ enum power_supply_property {
|
|
|
POWER_SUPPLY_PROP_VOLTAGE_NOW,
|
|
|
POWER_SUPPLY_PROP_VOLTAGE_AVG,
|
|
|
POWER_SUPPLY_PROP_VOLTAGE_OCV,
|
|
|
+ POWER_SUPPLY_PROP_VOLTAGE_BOOT,
|
|
|
POWER_SUPPLY_PROP_CURRENT_MAX,
|
|
|
POWER_SUPPLY_PROP_CURRENT_NOW,
|
|
|
POWER_SUPPLY_PROP_CURRENT_AVG,
|
|
|
+ POWER_SUPPLY_PROP_CURRENT_BOOT,
|
|
|
POWER_SUPPLY_PROP_POWER_NOW,
|
|
|
POWER_SUPPLY_PROP_POWER_AVG,
|
|
|
POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN,
|
|
|
@@ -146,6 +148,7 @@ enum power_supply_property {
|
|
|
POWER_SUPPLY_PROP_TYPE, /* use power_supply.type instead */
|
|
|
POWER_SUPPLY_PROP_SCOPE,
|
|
|
POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT,
|
|
|
+ POWER_SUPPLY_PROP_CALIBRATE,
|
|
|
/* Properties of type `const char *' */
|
|
|
POWER_SUPPLY_PROP_MODEL_NAME,
|
|
|
POWER_SUPPLY_PROP_MANUFACTURER,
|
|
|
@@ -291,6 +294,7 @@ static inline bool power_supply_is_amp_property(enum power_supply_property psp)
|
|
|
case POWER_SUPPLY_PROP_CURRENT_MAX:
|
|
|
case POWER_SUPPLY_PROP_CURRENT_NOW:
|
|
|
case POWER_SUPPLY_PROP_CURRENT_AVG:
|
|
|
+ case POWER_SUPPLY_PROP_CURRENT_BOOT:
|
|
|
return 1;
|
|
|
default:
|
|
|
break;
|
|
|
@@ -315,6 +319,7 @@ static inline bool power_supply_is_watt_property(enum power_supply_property psp)
|
|
|
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
|
|
|
case POWER_SUPPLY_PROP_VOLTAGE_AVG:
|
|
|
case POWER_SUPPLY_PROP_VOLTAGE_OCV:
|
|
|
+ case POWER_SUPPLY_PROP_VOLTAGE_BOOT:
|
|
|
case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE:
|
|
|
case POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE_MAX:
|
|
|
case POWER_SUPPLY_PROP_POWER_NOW:
|