How the Keep Messages option works on a BlackBerry Smartphone

Article ID: KB25592

Type: Support Content

Last Modified: 02-06-2012


Product(s) Affected:

  • BlackBerry 7 OS and earlier
Jump to: Environment | Overview
  • BlackBerry® Smartphone

The Keep Messages option allows configuration of the number of days to keep email messages, SMS messages and PIN to PIN messages on the BlackBerry® smartphone. After this period of time, email messages are automatically removed from the BlackBerry smartphone.

This is how message clean up works:

  • If system clock is updated manually or automatically which is every minute.
  • If smartphone is idle for at least 30 seconds.
  • If last clean up occurred more than 24 hours ago.

Then run clean up for those messages that are on the Smartphone past the Keep Messages setting. The date messages were received on Smartphone is compared with the Keep Message setting, and if the difference in days is more than/equal to the setting, the corresponding messages are cleared.

The clean up process would be run once a day max since we have a 24 hour last check condition. The first time the process would be run is 24 hours after the first time update (switching Smartphone on, or network update from carrier etc.)

If the Smartphone is not idle for at 30 seconds then the Keep Message option will not start. The idle time on the Smartphone is checked as follows:

  1. Last interacted with the keyboard or holstered the Smartphone.
  2. If there are any high priority messages in the queue.
  3. If the phone is active.
  4. If over the air software loading (OTASL) is in progress.
  5. Is a wireless synchronization (backup or restore) in progress.


By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.

Visit the BlackBerry Technical Solution Center at