We consider a device to be active if you've asked us to send a notification in a given period.
For accounts on a Free plan, the most recent 30 days of unique Active Devices will be considered. For accounts on a paid plan, the billing cycle is used instead.
This information can be found on the dashboard, in the instance page. For example: