| CPC G06F 3/062 (2013.01) [G06F 3/0619 (2013.01); G06F 3/0625 (2013.01); G06F 3/064 (2013.01); G06F 3/0679 (2013.01)] | 20 Claims |

|
1. A data storage device comprising:
a non-volatile memory;
a pinhole button configured to be pressed; and
a controller configured to:
detect that the pinhole button is pressed, wherein pressing the pinhole button initiates a disk optimization operation for the data storage device;
detect that the data storage device is coupled to a direct-current (DC) power supply;
detect whether there is data exchange between the data storage device and a host;
determine the data storage device is not coupled to a host, wherein the determination is based on detecting there is no data exchange; and
initiate the disk optimization operation for the data storage device when there is no data exchange detected and the data storage device is coupled to the DC power supply.
|