Skip to content

WIP power: bq25890_charger: Indicate charging state

The chip knows two charging states 'pre-charge' and 'fast-charge'. Indicate that via POWER_SUPPLY_PROP_CHARGE_TYPE.

I need to yet test that on the phone and i'm not sure 'fast charge' here correctly since it seems the datasheet calls everything besides pre-charge 'fast charge', so maybe using POWER_SUPPLY_CHARGE_TYPE_ADAPTIVE would be better?

Signed-off-by: Guido Günther agx@sigxcpu.org

Merge request reports