Device connected time

Hello All,

Where can I check how many hours a network device has been connected via wifi to the router? Has there been a network disconnection?

Specifically, if I connect to another router in client mode, how can I check if the network has been disconnected while I was not at home?

ifstatus wwan | grep uptime
Replace wwan with the interface name, time is in seconds so divide by 60 for minutes or 3600 for hours.