int64 getSystemUptimeMs()

Gets the system uptime in milliseconds

Security

Trust Level Required: Low Trust

Return

The system uptime in milliseconds

Remarks

This function can be paired with KioApp.getLastUserActivityTime() to obtain the total number of inactive milliseconds.

Examples


var inactiveMs = KioUtils.getSystemUptimeMs() - KioApp.getLastUserActivityTime(); 

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.