So there is a linux kernel bug with enabling battery backup for the rv3028 rtc. We workaround this with a script that executes when the installer runs. If you did not have the battery installed or removed it since running the installer, battery backup does not work, and you will see a low voltage warning in dmesg. I've pasted the script below. We should probably also execute this script when using the system settings tool.
Thanks @Bill Clark for the note. This should survive reboot. Are you currently using the Interceptor OS that we provide, or something else? If the Interceptor OS that we provide, please ensure that, after you set the new timezone, you click the "Apply" button or your changes will be lost.
We just posted an Interceptor OS update regarding this: https://www.axzez.com/axzez-news (April 16, 2022 - Interceptor OS Update).
So there is a linux kernel bug with enabling battery backup for the rv3028 rtc. We workaround this with a script that executes when the installer runs. If you did not have the battery installed or removed it since running the installer, battery backup does not work, and you will see a low voltage warning in dmesg. I've pasted the script below. We should probably also execute this script when using the system settings tool.
# check level switching mode local backup=$(i2cget -y 0 0x52 0x37) if (((backup & 0x0c) == 0x0c)); then echo 'Battery backup already enabled.' return 0 fi echo 'Enabling battery backup...' # disable auto refresh local control=$(i2cget -y 0 0x52 0x0f) i2cset -y 0 0x52 0x0f $((control | 0x08)) # enable level switching mode i2cset -y 0 0x52 0x37 $((backup | 0x0c)) # update eeprom i2cset -y 0 0x52 0x27 0x00 i2cset -y 0 0x52 0x27 0x11 sleep 1 # enable auto refresh i2cset -y 0 0x52 0x0f $control
I am using the supplied interceptor OS. I am clicking on Apply.
Thanks @Bill Clark for the note. This should survive reboot. Are you currently using the Interceptor OS that we provide, or something else? If the Interceptor OS that we provide, please ensure that, after you set the new timezone, you click the "Apply" button or your changes will be lost.