摘要 |
A device, a computer-readable medium, and a method are provided. The device includes, but is not limited to, a sensor, a processor, a non-volatile memory, and a computer-readable medium. The computer-readable medium includes, but is not limited to, computer-readable instructions stored therein that, upon execution by the processor, perform operations comprising initiating a write operation of data to the non-volatile memory; during the initiated write operation, monitoring the sensor to determine if the electronic device is falling; and if the electronic device is determined to be falling, interrupting the initiated write operation and executing a non-volatile memory shutdown procedure.
|