Useful for analysis, the device has extensive capabilities for logging events over the life of the battery. The Lifetime Data Collection is enabled by setting ManufacturingStatus()[LF_EN] = 1. The data is collected in RAM and only written to data flash under the following conditions to avoid wear out of the data flash:
- Every 10 hours if RAM content is different from flash.
- In permanent fail, before data flash updates are disabled.
- A reset counter increments. The lifetime RAM data is reset; therefore, only the reset counters are updated to data flash.
- Before scheduled shutdown
- Before the low voltage shutdown and the voltage is above the Valid Update Voltage.
The Lifetime Data stops collecting under the following conditions:
- After permanent fail
- Lifetime Data Collection is disabled by setting ManufacturingStatus()[LF_EN] = 0.
When the gauge is unsealed, the following ManufacturingStatus() can be used for testing Lifetime Data.
- Lifetime Data Reset() can be used to reset the Lifetime Data.
- Lifetime Data Flush() can be used to flush out RAM Lifetime Data to data flash.
- Lifetime Data Speedup Mode() can be used to increase the rate the Lifetime Data is incremented.
Total firmware runtime starts when Lifetime Data is enabled.
- Voltage
- Max/Min Cell Voltage each cell
- Max Delta Cell Voltage at any given time (that is, the max cell imbalance voltage)
- Current
- Max charge/discharge current
- Max average discharge current
- Max average discharge power
- Safety events that trigger the SafetyStatus() (The 12 most common are tracked.)
- Number of safety events
- Cycle count at last safety event(s)
- Charging Events
- Number of valid charge terminations (That is, the number of times [VCT] is set.)
- Cycle Count at Last Charge Termination
- Gauging Events
- Number of QMax updates
- Cycle Count at Last QMax update
- Number of RA updates and disable
- Cycle Count at Last RA update and disable
- Power Events
- Number of resets, partial resets, and watchdog resets
- Number of shutdowns
- Cell balancing (This data is stored with a resolution of 2 hours up to a limit of 510 hours.)
- Cell balancing time each cell
- Temperature
- Max/Min Cell Temp
- Delta Cell Temp (max delta cell temperature across the thermistors that are used to report cell temperature)
- Max/Min Int Temp Sensor
- Max FET Temp
- Time (This data is stored with a resolution of 2 hours.)
- Total runtime
- Time spent different temperature ranges