Patent attributes
Applying a firmware update, including: receiving a firmware update package, the firmware update package including multiple payloads and a firmware update duration map; verifying an integrity of the firmware update duration map, and in response, extracting the firmware update duration map from the firmware update package; determining, at a first time, a first power required to apply a first payload of the firmware update package based at least on the firmware update duration map and a health of a battery; comparing a current power capacity of the battery with the first power required to apply the first payload of the firmware update package; determining that the current power capacity of the battery is greater than the first power required to apply the first payload, and in response: obtaining the first payload of the firmware update package; updating firmware by applying the first payload to the firmware.