Jump to content

Saving Data When Turned Off

Featured Replies

Hi,

I have a Garmin Instinct watch. When I press one of the buttons I come to a place where I can choose to set alarm, timer, stop watch etc. It will remember what I did last and show that when I get to the that place again. For example, if I use the alarm, the alarm will be displayed first. How does the watch save this even when it's turned off? It can't stay in RAM if the watch is turned off right?

It's stored on some kind of non-volatile memory

https://en.wikipedia.org/wiki/Non-volatile_memory

e.g. Arduino has RTC module. You can read current time of real-time clock (RTC), write it, but can also read and write NVM which is on it. It's not much, just 56 bytes. (the rest (8 bytes) are used by time & date).

 

Edited by Sensei

I don't know the internals of that part but some processors have a hibernate mode where some tiny amount of energy maintains the memory, even for years on a tiny battery.

13 minutes ago, Christopher said:

I don't know the internals of that part but some processors have a hibernate mode where some tiny amount of energy maintains the memory, even for years on a tiny battery.

You're probably thinking of the cmos battery.

Some 'flash' memory will be retained for quite a while ( decades ); even without battery back-up.
( think USB storage sticks  or SSDs )

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.