• Jenny TC's avatar
    power_supply: Add inlmt,iterm, min/max temp props · 6bb1d272
    Jenny TC authored
    Add new power supply properties for input current, charge termination
    current, min and max temperature
    
    POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature
    POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature
    
    POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT - input current limit programmed
    by charger. Indicates the input current for a charging source.
    
    POWER_SUPPLY_PROP_CHARGE_TERM_CURRENT - Charge termination current used
    to detect the end of charge condition
    Signed-off-by: default avatarJenny TC <jenny.tc@intel.com>
    Acked-by: default avatarPavel Machek <pavel@ucw.cz>
    Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
    6bb1d272
power_supply_sysfs.c 8.87 KB