Have you noticed a strange thing with your rarely used PC/laptop?
How can it do so without being connected to any electric outlet?
The reason for this is a timekeeper chip known as Real-time Clock or RTC.
The Real-time Clock (RTC) or the CMOS ( Complementary Metal-oxide Semiconductor) chip by some manufacturers.
Nowadays, the functions of RTC have been taken over byNTP time servers..
Single board computers like the Raspberry Pi or Android smartphones and iPhones dont have RTC real-time clock chip.
This is done to save the valuable space as well as sync time using Internet.
Older feature phones had the RTC powered by the mobile phones main battery.
How does Apples Mac keep time?
Apples Macs have their own distinct architecture to support the time function.
In older Macs, the time is managed by a chip called PRAM or Parameter RAM.
It has been in operation since 1985 and was designed by David L. Mills of the University of Delaware.
source: www.techworm.net