The plugin name is cordova-plugin-uptime, is under MIT license and you can find the TypeScript wrapper documentation for the Ionic Native support on their website and the source code on Ionic Native Github.
It returns the monotonic uptime, with possibility of including or not the device deep sleep using the includeDeepSleep parameter.