Ranging beacons when app is killed or not even in background - is that possible?

You should actually be able to do that with just monitoring, e.g.:

  1. I enter the range of the “kitchen” beacon.
  2. The app wakes up in the background with the “didEnter” event, saves the current time to the disk.
  3. I leave the range of the “kitchen” beacon.
  4. The app wakes up in the background with the “didExit” event, compares current time to the previous time; the difference = how much time I spent in the kitchen.