Patent ID: 7913032

Claim:
A method for managing memory comprising: receiving a first command signal and a second command signal at a portable media device having an electrically erasable memory, the portable media device stores predefined criteria associated with wear leveling, a user device external to the portable media device transmits the command signal through a temporary connection between the portable media device and the external user device; determining a first command type for the first command, a second command type for the second command, and a time difference between receiving the first command type and the second command type, the first command type different from the second command type; determining the first command type, the second command type, and the time difference match the predefined criteria associated with wear leveling; and initiating a predetermined amount of wear leveling on the electrically erasable memory in response to determining the first command type, the second command type, and the time difference matches the predefined criteria stored in the portable media player.