I was wondering what would be a good way of getting the last system boot time. I know of the
base::SysInfo::Uptime() function which I can use to calculate the last boot time, but this unfortunately suffers problems when you take suspend into account (if the system has suspended at all since boot, uptime is no longer a reliable measure of the total wall time that's elapsed). I would preferably like to get this information on the Chrome side, but I'm also fine with doing a DBus call to get the data from CrOS over to Chrome.