RTC is not keeping time during low power mode
I am configuring the CPU to wake up from UART reception and/or GPIO interrupt:
echo enabled > /sys/devices/platform/soc/4000f000.serial/tty/ttySTM1/power/wakeup
echo enabled /sys/devices/platform/soc/4000f000.serial/power/wakeup
And it goes to sleep with:
echo "mem" > /sys/power/state
After 1 hour in sleep mode, the time is 20 minutes slow. This is not happening in Run mode.
Additional Information:
- Linux 5.4.31
- 3.0V RTC battery backup
