Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync RTC with PiJuice on boot #56

Open
nicolas-f opened this issue Jul 15, 2024 · 0 comments
Open

Sync RTC with PiJuice on boot #56

nicolas-f opened this issue Jul 15, 2024 · 0 comments

Comments

@nicolas-f
Copy link
Member

https://github.com/PiSupply/PiJuice/tree/master/Software#sync-rtc-time-at-boot

Sync RTC time at boot

When the Raspberry Pi shutsdown and then reboots you must copy the RTC time back to the system clock at boot and you can do this in /etc/rc.local with sudo hwclock -s.

Note: This assumes that your PiJuice has sufficient power from the battery to keep the simulated RTC running in the PiJuice microcontroller while the Pi is shut down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant