Handling contextual accident data in an information handling system (IHS)
Systems and methods for handling contextual accident data in an Information Handling System (IHS) are described. In some embodiments, an IHS may include an Embedded Controller (EC), and a memory coupled to, or integrated into, the EC, where the memory comprises program instructions that, upon execution by the EC, cause the EC to receive a power state indication and associate the power state indication with an accident indication.
1 . An Information Handling System (IHS), comprising:
an Embedded Controller (EC); and
a memory coupled to, or integrated into, the EC, wherein the memory comprises program instructions that, upon execution by the EC, cause the EC to:
receive a power state indication prior to an accident or in response to the accident, wherein the power state indication is indicative of a power state of the IHS;
associate the power state indication with an accident indication corresponding to the accident;
perform a reboot of the IHS subsequent the accident, wherein the power state prior to the accident is maintained as the power state subsequent the accident and the reboot; and
transmit a report to a cloud or secondary IHS indicating that the IHS was in the power state prior to the accident, that the IHS was rebooted to the power state, and that the IHS was rebooted with the accident indication or an accident flag corresponding to the accident indication.
2 . The IHS of claim 1 , wherein the accident comprises at least one of: a drop, a fall, a throw, a hit, a crash, an impact, or a collision involving the IHS or a component thereof.
3 . The IHS of claim 1 , wherein the program instructions, upon execution by the EC, further cause the EC to:
determine that the IHS suffered the accident; and
in response to the determination, store the accident indication in a Non-Volatile Memory (NVM).
4 . The IHS of claim 3 , wherein to determine that the IHS suffered the accident, the EC is configured to check the accident flag or a register after the reboot.
5 . The IHS of claim 1 , wherein the accident indication comprises at least one of: IHS identification, telemetry data, or classification data.
6 . The IHS of claim 5 , wherein the IHS identification comprises at least one of: a serial number, model identification, or service tag of the IHS, and wherein the classification data comprises at least one of: a type of the accident, a severity of the accident, diagnostics data, or IHS damage data.
7 . The IHS of claim 1 , wherein the program instructions, upon execution by the EC, further cause the EC to:
receive a power state notification from a host Operating System (OS); and
in response to the notification, store the accident indication in a Non-Volatile Memory (NVM).
8 . The IHS of claim 7 , wherein the power state notification indicates a selection of a plurality of Advanced Configuration and Power Interface (ACPI) specification power states.
9 . The IHS of claim 7 , wherein the power state notification indicates a Modern Standby state or a custom power state.
10 . The IHS of claim 1 , wherein the program instructions, upon execution by the EC, further cause the EC to notify at least one of: a host Operating System (OS), or a backend service of the association.
11 . The IHS of claim 1 , wherein the transmitting occurs while the IHS is in the power state.
12 . The IHS of claim 11 , wherein the power state is an off, low-power, sleep, or standby state.
13 . A method, comprising:
collecting context data by an Embedded Controller (EC) of an Information Handling System (IHS), wherein the context data comprises an identification of a power state of the IHS;
in response to an accident, associate an accident indication with the context data, wherein the accident comprises at least one of: a throw, a hit, a crash, an impact, or a collision involving the IHS or a component thereof;
perform a reboot of the IHS subsequent the accident; and
collecting at least a portion of the context data in response to an accident detection event.
14 . The method of claim 13 , wherein the context data further comprises an identification of an IHS posture.