Given a single container, possibly in a multicontainer device, how do I differentiate between a container restart and a device reboot?
In another viewpoint, you can try differentiating the device & container times using
uptime, which will show the system uptime. And if you do
balena ps it will show the uptime for all containers.