A leap second was recently added on June 30, 2015 23:59:60 UTC.

How are leap seconds implemented on Android (specifically Lollipop)?

  • 3
    Are you asking theoretically? If your phone receives its time automatically, it should be AFN (all fine now). If not, it's at most 1 second off additionally from your last manual time setting. Perhaps you should get on that, then. – wbogacz Jul 1 '15 at 14:04

The leap second was not implemented in Lollipop or any other Android version. If you are really concerned with having 'atomic clock' accuracy, use ClockSync, which synchronizes your device's clock with an atomic clock.

If you have root access, this is done automatically. Without root, a countdown assists in you manually synchronizing your clock. That will get you the one second back if you don't have network-provided time.

| improve this answer | |
  • How does ClockSync show the leap second? Does it properly show the right time on both the last second of the year, and the first second of the next year? In particular, does it properly show the 61th second, e.g. Sat Dec 31 23:59:60 UTC 2016? – nealmcb Dec 31 '16 at 19:07

In Date/Hour Settings page you have a checkbox to enable auto-checking time by the network.

I think it's your mobile operator that gives time. Then the mobile is always up-to-date (time speaking).

I don't think leap seconds are implemented in stock Android if we're not connected on any network.

| improve this answer | |
  • On my phone, selecting "use network provided values" winds up being equal to "use GPS values"and it turns out GPS time is ahead of UTC by 17 seconds because GPS time doesn't have leap seconds. So... what is the fix for this? – Michael Nov 13 '15 at 19:27
  • @Michael First time I heard of that.. Are you on Android Lollipop? – Gawel91 Nov 15 '15 at 12:12
  • @Michael It looks like you're running in to a device-specific time reporting bug which is discussed here (though it should be reported to the device manufacturer): code.google.com/p/android/issues/detail?id=5485 – nealmcb Dec 31 '16 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.