Raspberry Pi 5 - Charging the RTC-Battery?

I have the official RTC-Battery for the Raspberry PI 5. On the Raspberry Pi OS you can config that the battery is charged while your pi is running, is this also possible on HA?

HASS runs as a virtual machine running on an isolated HAOS kernel. I’d doubt the supervisor exposes the underlying hardware status.

On the other hand, my RPi5 with a battery just works. Although RPiOS (what was Raspian) might have better support for power management, “it just works” via firmware.

The easiest test is to disconnect the network (so no NTP), shutdown, wait, and restart HAOS and see if the time is correct.

Isn’t that the problem, it won’t progress through a startup if it doesn’t get the time in this case from the rtc.

On Raspbian or HAOS? Never seen a boot stop due to bad time on a RPi.

The OS either takes the time from the last filesystem timestamp (which could be years ago, but better than marking files in the past, or NTP.

The RPi5 is the first Pi to have a RTC so it is integrated in the firmware (unlike add-on RTC you may know of like a rtc-ds1307 which need manual scripting).

2 Likes

So it looks like a charging like with RPiOS is not possible, sadly if I understand this right?

It should “just work” via the RPi5 firmware.

See my previous post for how to check.