[PATCH 5.10 05/22] power: supply: bq27xxx: make status more robust