问题
How can I get the absolute system boot time within the shell? i tried cat/proc/uptime, but this only returns the time since reboot.
回答1:
It's basically:
java.lang.System.currentTimeMillis() - android.os.SystemClock.elapsedRealtime();
来源:https://stackoverflow.com/questions/15342301/how-to-get-android-system-boot-time