RTC battery, time not stored

Does anyone know whether you need to change anything in the BIOS in order to use the RTC once you have a battery plugged in?

I have the battery connected, but when I set the time and power off it isn’t stored.

Which side of the connector is positive and which is negative? I’ve tried both ways but it would be good to know for sure.

Thanks

Alex

Did you check the battery with multimeter? If you have the official RTC battery, it should only be able to be connected properly.

I didn’t realise that there was an official battery, it wasn’t listed on Seeedstudio when I ordered the Rock Pi X or I would have got one at the time. Where did you get one from?

I just got a CR2032 battery with the correct connector from eBay. Checked with a multimeter, the battery is fine, but the computer just doesn’t keep the time.

I’m running Ubuntu and, oddly, the time in the BIOS doesn’t match the time stored in Linux. Even when I correct the time and then do “hwclock --systohc” it doesn’t seem to store the time to the BIOS, but then Linux doesn’t start with the BIOS time either (neither is current time)

Which side of the connector is positive? If I know that, then I can at least make sure that the battery is connected properly.

Alex

Oh, th german stores show th battery as possible additional parts. I dont have the RockPi X and the informations on this page don´t answer your question. But a CR2032 is the right one.
Did you check this:

Maybe you accidentally used the wrong port.
You need the one under the USB ports.

Make sure you connect the RTC battery to the right connector. The upper side connector is for power button. The RTC connector is at the back of the board.

I think I have it working now, I need to check it again when I can though

I definately used the correct port.

@RonDittrich I know what the problem on that other post is though as it got me too (that was my first problem). If you don’t have the battery plugged in, when you plug in USB-C power the board boots immediately, but when you have the battery plugged in, you have to press the power button to turn the board on. It’s nothing to do with using the wrong connector.

The second issue is that it seems like I can’t set the time from the OS and have it reflected in the BIOS, but if I set it iin the BIOS, the OS boots with the correct time. I’m not sure if that means that NTP won’t work very well as it won’t update the hardware time, but that might be OK for me.

1 Like