demo of beacon.getPower