commit | 29d7efa55bcbc9833454fc5dba8b4dec03a6a140 | [log] [tgz] |
---|---|---|
author | Jenny Ho <[email protected]> | Thu May 27 14:46:44 2021 +0800 |
committer | AleX Pelosi <[email protected]> | Sat Jun 12 19:54:42 2021 +0000 |
tree | 24527d1be15ec972465ab0b4edec008234d27fda | |
parent | da8df72aebe295d88c96849d998c907e4dd8c987 [diff] |
max1720x_battery: keep retrying and do not reload when read battery ID failed It cannot do anything without correct battery, that would be more reasonable to keep retrying in this situation until get right value. Note: max retry 5 times, if still fail, let ID -1 and battery temperature always 22degC Bug: 189499421 Signed-off-by: Jenny Ho <[email protected]> Change-Id: I7572e5926c15199899514a74f8f42cbf26e4d839