Quantcast
Channel: Intel Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 41305

Keeping time with coin battery

$
0
0

I was a bit puzzled and got the solution.

Just a remember that you have to change the hardware clock to keep the time with a coin battery. When you only set the software clock, it doesn't keep the time with the battery (makes sense). You have to sync the clocks. First, I set the system time and date with date +%Y%m%d%H%M -s "201401102348" and then sync the clocks with that command (I use UTC); hwclock --systohc --utc

It works !


Viewing all articles
Browse latest Browse all 41305

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>