Hi all,
I work with imx53 board, MC34708 PMIC and Android 2.3.3. Unfortunatelly I met some problems with sustain system time and date after system shutdown - after power off it returns to default values ( 1970.01.01 ...).
To be more precise, in the system I can see two rtc's:
After reboot, rtc0 resets (time and date goes to defaults) and rtc1 keeps previous values.
After shutdown but with voltage from wall rtc0 resets and rtc1 keeps previous values.
After shutdown and removing voltage from wall both rtc0 and rtc1 resets.
Of course on board I have coin cell battery which I suppose should keep time and date when device is turn off.
My aim is to have working System time after every reboot and shutdown. I think it can be achieved in two ways - by fixing rtc0 to keep values after power off or by fixing rtc1 to keep values after power and integrate it with System time. Neither of them I know how to do.
As you may noticed from my question, I'm a newbie, so any advice are welcome.
Thanks in advance,
Czesiek
In addition to that question, how to change RTC standing behind the Settings -> Change date and time in user interface?
In default it is rtc0 but I need to use rtc1.
I know how to set System time from rtc1 on boot, but I don't know how to change rtc1 from Android Settings.
Thanks in advance.