diff options
author | Jenny Ho <hsiufangho@google.com> | 2023-08-12 03:02:59 +0800 |
---|---|---|
committer | Jenny Ho <hsiufangho@google.com> | 2023-08-21 11:28:26 +0000 |
commit | 85f167d67e578ce524aaf5a8b9e9048baedc466e (patch) | |
tree | 0a52b8ab1abdbbe37d379efbb208a30adfaf5ba5 | |
parent | 1e82101f48bd6ab93d0ae59338c5286490cb8750 (diff) | |
download | bms-85f167d67e578ce524aaf5a8b9e9048baedc466e.tar.gz |
max1720x_battery: reduce battery BHI fade rate logs
Fade rate can be checked through battery EEPROM history without printing
as dev_info, and here change to dev_dbg
Bug: 294878027
Change-Id: I5750b2bc77b7e6ac7696ab717dbeb1e0ed10c116
Signed-off-by: Jenny Ho <hsiufangho@google.com>
-rw-r--r-- | max1720x_battery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/max1720x_battery.c b/max1720x_battery.c index a1b900b..6105bd7 100644 --- a/max1720x_battery.c +++ b/max1720x_battery.c @@ -2148,7 +2148,7 @@ static int max1720x_get_fade_rate(struct max1720x_chip *chip) return -EIO; } - dev_info(chip->dev, "%s: hist_idx=%d\n", __func__, hist_idx); + dev_dbg(chip->dev, "%s: hist_idx=%d\n", __func__, hist_idx); /* no fade for new battery (less than 30 cycles) */ if (hist_idx < bhi_fcn_count) @@ -2167,7 +2167,7 @@ static int max1720x_get_fade_rate(struct max1720x_chip *chip) ret = gbms_storage_read_data(GBMS_TAG_HIST, &hist, sizeof(hist), hist_idx); - dev_info(chip->dev, "%s: idx=%d hist.fc=%d (%x) ret=%d\n", __func__, + dev_dbg(chip->dev, "%s: idx=%d hist.fc=%d (%x) ret=%d\n", __func__, hist_idx, hist.fullcapnom, hist.fullcapnom, ret); if (ret < 0) |