Initiate IATA shutdown through either a) a separate IATA_SHUTDOWN() MAC command, or b) the standard ShutdownMode() MAC command (works in SEALED and UNSEALED modes):
With the IATA_SHUTDOWN() MAC command, the device sets the [IATA_SHUT] bit.
With the standard ShutdownMode() MAC command, the [IATA_SHUT] bit must be set to enable IATA_SHUTDOWN.
The IATA_SHUTDOWN() MAC command is ignored if IATA Delay Time has not expired.
Check if true RSOC is below (less than or equal to) a certain IATA RSOC Threshold, then continue to Step 3. If not, then stop shutdown and clear the [IATA_SHUT] bit.
If IATA RSOC Threshold = 0%, then the gauge will not check or care about the condition of the true RSOC. It clears the [IATA_SHUT] bit and enters the normal command shutdown (Step 4).
Store the true remaining capacity and FCC in the data flash registers IATA RM and IATA FCC, respectively.