Once Secure Connect is baked into Chrome (in particular the screen auto lock functionality), please hook up chrome.idle.getAutoLockDelay on platforms != Chrome OS.
We're in the process of adding an extension API (chrome.idle.getAutoLockDelay) that returns the time (in seconds) until the screen auto locks when idle or 0 if auto screen lock is disabled. Secure Connect needed that for Chrome OS as there is no native client. We didn't implement this on other OSses, though. We're assuming once Secure Connect gets backed in, the native client functionality, in particular the screen auto lock stuff, gets moved into Chrome, so that it would then be easy to add support for chrome.idle.getAutoLockDelay.
See https://chromium-review.googlesource.com/c/chromium/src/+/1382443 and https://bugs.chromium.org/p/chromium/issues/detail?id=907751.
Comment 1 by ljusten@chromium.org
, Dec 21