Lines Matching full:gauge
3 * Fuel gauge driver for CellWise 2013 / 2015
49 /* reset gauge of no valid state of charge could be polled for 40s */
51 /* reset gauge if state of charge stuck for half an hour during charging */
103 /* make sure gauge is not in sleep mode */ in cw_update_profile()
111 "Gauge is in sleep mode, can't update battery info\n"); in cw_update_profile()
130 /* reset gauge to apply new battery profile */ in cw_update_profile()
137 /* wait for gauge to reset */ in cw_update_profile()
145 /* wait for gauge to become ready */ in cw_update_profile()
151 "Gauge did not become ready after profile upload\n"); in cw_update_profile()
237 /* wait for gauge to enter sleep */ in cw_power_on_reset()
271 "Too many invalid SoC reports, resetting gauge\n"); in cw_get_soc()
279 /* Reset gauge if stuck while charging */ in cw_get_soc()
287 "SoC stuck @%u%%, resetting gauge\n", soc); in cw_get_soc()
371 dev_err(cw_bat->dev, "Failed to get SoC from gauge: %d\n", soc); in cw_update_soc()
384 dev_err(cw_bat->dev, "Failed to get voltage from gauge: %d\n", in cw_update_voltage()
412 dev_err(cw_bat->dev, "Failed to get time to empty from gauge: %d\n", in cw_update_time_to_empty()
431 dev_err(cw_bat->dev, "Failed to read mode from gauge: %d\n", ret); in cw_bat_work()